A Modern Http Errors.
# npm
$ npm install @macchiatojs/http-error
# yarn
$ yarn add @macchiatojs/http-error
import HttpErrors from "@macchiatojs/http-error";
throw new HttpError(404, "Not Found!");
If you have any problem or suggestion please open an issue.