Skip to content

About

A modern way to create http errors.

Resources

Stars

0 stars

Watchers

1 watching

Forks

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages