Skip to content

Commit b45b21c

Browse files
authored
Update README.md
1 parent 8277cde commit b45b21c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ app.use(errorHandler({ debug: true }))
7575
### Error Handler Options
7676

7777
- `debug` {Boolean} - (optional) returns debug output (stack trace, request data)
78-
- `onError` {Function} - (optional) intercept error before sending to client
78+
- `transform` {Function} - (optional) intercept error before sending to client
7979

8080

8181
```js

0 commit comments

Comments
 (0)