@abcnews/err

Light weight error reporting module which wraps ABC News built in logging.

Stats

StarsIssuesVersionUpdatedCreatedSize
@abcnews/err
011.0.33 years ago4 years agoMinified + gzip package size for @abcnews/err in KB

Readme

err

A simple wrapper for logging errors on the ABC News site.

const errorLogger = require('@abcnews/err')('your project tag');

try {
    // some code which throws
} catch(e) {
    errorLogger(e);
}

// Or

Promise.reject('Meltdown').catch(errorLogger);

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.