error
error copied to clipboard
Error response middleware (text, json, html)
**READY TO NEXT RELEASE 🚀**
Clean error stack on json response
If I wanna use `extend/include`, a `block`, `macro` or others in nunjuck, config such as follow: `Directory`: ``` / ├─ app.js │ └─ tpl │ ├─ com.html │ └─ error.html...
Use filters & include other tpl code in `Nunjucks engine` [PR36](https://github.com/koajs/error/pull/36) `Directory`: ``` / ├─ app.js │ ├─ filters.js │ └─ tpl │ ├─ com.html │ └─ error.html ``` `tpl/error.html`:...
> When an EventEmitter instance experiences an error, the typical action is to emit an 'error' event. Error events are treated as a special case in node. If there is...
we only do `try catch` here to catch the error. but all the streams' and events' errors are handling by `stream.on('error', this.onerror)`, we can do nothing for them, except hack...