@ianwremmel/exception
Base-class for browser and nodejs Exceptions
Install
npm install @ianwremmel/exception
Usage
class MyError extends Exception {}
throw new MyError(`Something bad happened`);
Maintainers
Contribute
See CONTRIBUTE
Base-class for browser and nodejs Exceptions
npm install @ianwremmel/exception
class MyError extends Exception {}
throw new MyError(`Something bad happened`);
See CONTRIBUTE
npm i @ianwremmel/exception
2
3.1.4
MIT
12.4 kB
9