Flaw
Lightweight and simple error creation in JavaScript.
Example
var flaw = // Simple error creationvar ParsingError = throw // Raising errors in an expressionn > 0 ? m / n :
Installation
$ npm install flaw
Documentation
$ npm install -g calliope$ calliope build
Then open docs/api/index.html
in your browser.
Licence
MIT/X11. ie.: do whatever you want.