npm install --save errloprequire('errlop')This package is published with the following editions:
errlop aliases errlop/index.js which uses Editions to automatically select the correct edition for the consumers environmenterrlop/source/index.js is esnext source code with require for moduleserrlop/edition-browsers/index.js is esnext compiled for browsers with require for moduleserrlop/edition-node-0.8/index.js is esnext compiled for node.js 0.8 with require for modulesmaxNodeModuleJsDepth compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:
``` json
{
"compilerOptions": {
"maxNodeModuleJsDepth": 5
}
}
```
## Usage
[Complete API Documentation.](http://master.errlop.bevry.surge.sh/docs/)
``` javascript
const Errlop = require('errlop')
const a = new Errlop('AError')
const b = new Errlop('BError', a)
const c = Errlop.create('CError', b)
console.log(c.stack)
/*
Error: CError
at Function.create (/Users/balupton/Projects/active/errlop/source/index.js:92:10)
at Object.HISTORY.md file.
CONTRIBUTING.md file.
CONTRIBUTING.md file.