From cdac872f66f200e2542851b5a4ff53d7a786898f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A8re?= Date: Tue, 14 Oct 2025 11:49:27 +0200 Subject: [PATCH 1/2] Update index.md fix wrong class error call --- docs/tutorial/patterns/error-handling/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/patterns/error-handling/index.md b/docs/tutorial/patterns/error-handling/index.md index 21333ef0..ae09c6ef 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) ``` From b49723a3772bea3cdb5ed4a451ad1c2bf475fa3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A8re?= Date: Tue, 14 Oct 2025 11:54:23 +0200 Subject: [PATCH 2/2] feat: Update index.md change tab to space --- docs/tutorial/patterns/error-handling/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/patterns/error-handling/index.md b/docs/tutorial/patterns/error-handling/index.md index ae09c6ef..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 NicheError('Custom error message') + throw new NicheError('Custom error message') }) .listen(3000) ```