Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 453 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 453 Bytes

@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