6.0.3 • Published 7 months ago

@reis/errors v6.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@reis/errors

npm version github issues

A collection of common error classes

Installation

You can install this package using yarn or npm.

#yarn
yarn add @reis/errors

#npm
npm install @reis/errors --save

Usage

//Load needed error classes
import {BadRequestError, NotFoundError} from '@reis/errors'

//Use in some function
export function someMiddleware() {
  throw new BadRequestError('Bad things happened')
}

Issues & feature requests

Please report any bugs, issues, suggestions and feature requests in the errors issue tracker.

License

(MIT License)

Copyright 2016-2023, Adam Reis

6.0.3

7 months ago

6.0.2

7 months ago

6.0.1

7 months ago

6.0.0

7 months ago