exception
Generate heap dumps and detailed output for uncaught exceptions and critical errors
Generate heap dumps and detailed output for uncaught exceptions and critical errors
This module logs errors that you give it to log.
Function to get JSON friendly object from error (Node/V8 only).
get rid of `if (err) throw err`
Portable errors for Javascript
A callback wrapper library that reduces the number of checks needed to propagate errors up the callback chain
proptype validators for results instances
Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.
Result in TypeScript
A simple module to make showing users an error easier
Displays http status in browser, good for error handling.
Generic Error Handler
Deep and shallow clone.
Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'
A lightweight functional library for functional composition and object composition.
This module logs errors that you give it to log.
Makes easy to use HTTP status and errors.
提供了响应错误信息的中间件
Thorw error objects directly from express response