1.0.6 • Published 4 years ago

extend-err v1.0.6

Weekly downloads
134
License
ISC
Repository
github
Last release
4 years ago

CircleCI

codecov

extend-err

TODO: description

Usage

$ yarn add extend-err
$ npm i -S extend-err

example

class CustomError extends ExtendErr implements CustomErrorInterface {
  constructor(message?: string | Error, error?: Error) {
    super(message, error);

    this.name = new.target.name;
    Object.setPrototypeOf(this, new.target.prototype);
  }
}

https://github.com/YasushiKobayashi/js-modules/blob/master/src/extend-err/src/extend-err.spec.ts

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago