A base error class with stack trace support.
npm install '@etianen/base-error'
Creating custom error types in Javascript is difficult.
@etianen/base-error provides a subclassable BaseError
that can be used in ES6 and Typescript projects.
import BaseError from "@etianen/base-error";
class MyCustomError extends BaseError {}
This project is built on every push using the Travis-CI service.
Downloads and bug tracking can be found at the main project website.
This project was developed by Dave Hall. You can get the code from the project site.
Dave Hall is a freelance web developer, based in Cambridge, UK. You can usually find him on the Internet: