errlop
![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)
An extended Error class that envelops a parent error, such that the stack trace contains the causation
Install
- Install:
npm install --save errlop
- Module:
require('errlop')
- Install:
npm install --save errlop
- Module:
require('errlop')
- CDN URL:
//wzrd.in/bundle/errlop@1.0.1
- Install:
ender add errlop
- Module:
require('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 Source + ESNext + Requireerrlop/es2015/index.js
is Babel Compiled + ES2015 + Require
Older environments may need Babel's Polyfill or something similar.
Usage
Complete API Documentation.
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)
console.log(c.orphanStack)
History
Discover the release history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
No maintainers yet! Will you be the first?
No sponsors yet! Will you be the first?
![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)
Contributors
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
- Copyright © 2018+ Benjamin Lupton
and licensed under: