0.2.0 • Published 3 years ago

@macchiatojs/http-error v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@macchiatojs/http-error

A Modern Http Errors.

Installation

# npm
$ npm install @macchiatojs/http-error
# yarn
$ yarn add @macchiatojs/http-error

Usage

import HttpErrors from "@macchiatojs/http-error";

throw new HttpError(404, "Not Found!");

Support

If you have any problem or suggestion please open an issue.

License


MIT © Imed Jaberi