extendableerror

1.0.0 • Public • Published

ExtendableError

An extendable JS error class for creating your own custom exception classes.

Usage

let ExtendableError = require('extendable-error');

class MyCustomError extends ExtendableError {};

throw new MyCustomError('A custom error ocurred!');

Package Sidebar

Install

npm i extendableerror

Weekly Downloads

6

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • zupper