Skip to content

trekjs/http-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-error

A Http Error for Trek.js

Installation

$ npm install trek-http-error --save

Examples

const HttpError = require('trek-http-error')

throw new HttpError(404, 'Not Found!')

Badges

Build Status codecov


fundon.me  ·  GitHub @fundon  ·  Twitter @_fundon

About

Http Error for Trek.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published