@speedup/error
v1.0.8
Published
SpeedUP standard error library
Downloads
8
Maintainers
Readme
SpeedUP SMS notification
SpeedUP standard error library.
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