0.2.0 • Published 10 years ago

weberrors v0.2.0

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

node-weberrors

A simple web errors packge.

Install

npm install weberrors --save

Usage

var weberrors = require('weberrors')

throw weberrors.BadRequest("username is incorrect")

throw weberrors.WebError(508, "some weird error")

throw weberrors.NotFound()

License

See LICENSE file.

0.2.0

10 years ago

0.1.0

11 years ago