0.1.8 • Published 8 years ago

error-from v0.1.8

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

error-from

THIS IS ALPHA CODE. DO NOT USE IN PRODUCTION.

error-from is a utility to normalize error objects from disparate sources.

error-from can normalize errors from:

  • Firebase
  • Shopify

Usage:

var ErrorFrom = require('error-from');

// assuming a new error object 'err' from a system such as Firebase,
// create a normalized error object and pass it back up through 
// your callback

return callback(ErrorFrom.firebase(err));
0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

9 years ago

0.1.4

9 years ago