Helper methods for easy error handling in NodeJS
NodeJS-ers, this might be interesting for you:
Installation
npm install simple-errors
Usage
Just make sure to require the module somewhere in your code (only once)
require('simple-errors');
Then use the factory methods for creating errors:
//simplest of errors
var err = Error.create();
View more methods here: https://www.noodl.io/market/product/P201603180016880/simple-errors-helper-methods-for-easy-error-handling-in-nodejs
Written by noodlio
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Nodejs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#