@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.