1.0.0 • Published 7 years ago
extendableerror v1.0.0
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!');
1.0.0
7 years ago