@soluzioni-futura/extended-error
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

extended-error-package

Extension of Error class

Quick start

Install the package

$ npm i @soluzioni-futura/extended-error

Usage

import ExtendedError from "@soluzioni-futura/extended-error"

enum ERROR_CODES {
    ERROR_A = "ERROR_A",
    ERROR_B = "ERROR_B"
}

throw new ExtendedError(ERROR_CODES.ERROR_A, "Error!!")

Readme

Keywords

none

Package Sidebar

Install

npm i @soluzioni-futura/extended-error

Weekly Downloads

15

Version

1.0.2

License

ISC

Unpacked Size

3.32 kB

Total Files

5

Last publish

Collaborators

  • riccardorispoli
  • giovanni.bruno
  • nico.fuccella
  • vforvalerio87
  • zhoujian26
  • allemonta