errorhandler-express
An express middleware module to generate HTTP responses on error.
TODO: Pending add more checks, test and documentation
Installation
The best way to install it is using npm
npm install errorhandler-express --save
Loading
var apiSetter = ;
Initialization and Usage
Basic usage (you can see how works better with test:
app = ; var options = errors : app : user : myOwnError : status : 401 msg : "you can't see me" ; var kError = options; app; app; app
Support
This plugin is proudly supported by Kubide hi@kubide.es