Skip to content

macchiatojs/http-error

Repository files navigation

@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

About

A modern way to create http errors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published