We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f49a738 commit 380d711Copy full SHA for 380d711
docs/tutorial/patterns/error-handling/index.md
@@ -40,7 +40,7 @@ It accept **context** similar to handler but include an additional:
40
import { Elysia } from 'elysia'
41
42
new Elysia()
43
- .onError(({ code, status }) => {
+ .onError(({ code, status }) => {
44
if(code === "NOT_FOUND")
45
return 'uhe~ are you lost?'
46
0 commit comments