@recipher/errors

1.0.1 • Public • Published

@recipher/errors

Server errors.

throw new DeclinedError();        // 423
throw new DuplicateError();       // 422
throw new NotAuthorizedError();   // 403
throw new NotFoundError();        // 404
throw new UnauthenticatedError(); // 401
throw new ValidationError();      // 422 

Readme

Keywords

none

Package Sidebar

Install

npm i @recipher/errors

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • recipher