@macchiatojs/http-error
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @macchiatojs/http-error

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

5.67 kB

Total Files

6

Last publish

Collaborators

  • 3imed-jaberi