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

1.0.8 • Public • Published

SpeedUP SMS notification

SpeedUP standard error library.

NPM version NPM downloads

Installation

# NPM
npm i @speedup/error --save

# Yarn
yarn install @speedup/error

Usage

const { ApplicationError, HttpError } = require('@speedup/error');

throw new ApplicationError({
    code: 'E_NOT_FOUND'
});
import { ApplicationError, HttpError } from '@speedup/error';

throw new ApplicationError({
    code: 'E_NOT_FOUND'
});

And you're good to go!

License

MIT

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i @speedup/error

    Weekly Downloads

    1

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    15.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • dmanavi