0.0.1 • Published 9 years ago
error-messenger v0.0.1
error-messenger
Quickly format an error message
Install
$ npm install --save error-messenger
Usage
var errorMessenger = require('error-messenger');
errorMessenger({code: 101, message: 'Requires username'});
// Returns "Error in functionNameThatCalledThisError : [ code: 101 | message: Requires username ]"
License
MIT © R.A. Lucas
0.0.1
9 years ago