features
- [
9a899f5
] - feat: stringify err object on non-error (#36) (弘树@阿里 <[email protected]>)
fixes
- [
d4291c2
] - fix: the req data should be consumed on error (#33) (fengmk2 <[email protected]>)
fixes
- [
46a79dd
] - fix: escape unsafe characters in html response (Simon Ratner <[email protected]>)
others
- [
df878e4
] - refactor: support koa 2 (#27) (Yiyu He <[email protected]>)
- feat: can reach err.headerSent in app error listener (#23)
- feat: non-error wrapper support status and headers (#22)
- fix: try to restore non Error instance properties (#20)
- fix: change the koa-error url (#17)
- fix: use absolute path (#16)
- fix: Send default text/plain body if message is undefined
- refactor: remove nunjucks
- fix: don't throw when non-error object passed (#15)
- Return reference to app (#7)
- refactor: use nunjucks instead of swig
- fix: only unset text headers
- feat: support set err.headers
- Merge pull request #5 from koajs/fix-test-iojs
- fix: test run on iojs and upgrade copy-to
- fix status in on error
- fix link
- Merge pull request #4 from koajs/custom-accepts
- update links and add coveralls
- Support options.accepts custom detect function
- fix readme
- Merge pull request #2 from koajs/redirect
- Allow
options.redirect = 'http://example/500.html'
.
- use path.join
- add assert error type
- update repo
- refine readme, bump dependencies
- fix status
- all do not set type
- add test
- fix status
- rename to koa-onerror
- refactor
- update readme
- update readme
- error handler by hack ctx.onerror
- Initial commit