codeflyer-errorx

0.1.2 • Public • Published

ErrorX

Error Class Extension Module

ErrorX is a simple module for the error management.

Quickstart

var ErrorX = require('errorx');
try {
    throw new ErrorX(100, 'Error message', parentError);
} catch(e) {
    console.log(e.getTraceAsString());
}

Dependents (4)

Package Sidebar

Install

npm i codeflyer-errorx

Weekly Downloads

2

Version

0.1.2

License

ISC

Last publish

Collaborators

  • davidefiorello