Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Speedup-lib/nodejs-standard-error-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Standard Error Library for NodeJS projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published