0.0.5 • Published 8 years ago
trek-http-error v0.0.5
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!')
A Http Error for Trek.js
$ npm install trek-http-error --save
const HttpError = require('trek-http-error')
throw new HttpError(404, 'Not Found!')