Skip to content

neumatter/http-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTPError

JavaScript Style Guide

HTTPError class.


Table of Contents


Install

npm i @neumatter/http-error 

Usage

uses:

import HTTPError from '@neumatter/http-error'

throw new HTTPError(404, 'not found')
throw new HTTPError(404)
throw new HTTPError('not found')

About

HTTPError class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published