diff --git a/docs/api/context.md b/docs/api/context.md index 98db161..dc870cd 100644 --- a/docs/api/context.md +++ b/docs/api/context.md @@ -103,6 +103,7 @@ ctx.throw('something exploded'); ```js const err = new Error('name required'); err.status = 400; +err.expose = true; throw err; ```