diff --git a/docs/tutorial/patterns/error-handling/index.md b/docs/tutorial/patterns/error-handling/index.md index 21333ef0..a3ee2cc9 100644 --- a/docs/tutorial/patterns/error-handling/index.md +++ b/docs/tutorial/patterns/error-handling/index.md @@ -78,7 +78,7 @@ new Elysia() } }) .get('/', () => { - throw new CustomError('Custom error message') + throw new NicheError('Custom error message') }) .listen(3000) ```