exframe-errors
TypeScript icon, indicating that this package has built-in type declarations

1.7.3 • Public • Published

Exframe Errors

this module aims to provide ots errors for consumption in middleware services and wherever else desired

these errors default statusCodes, errorCodes, and messages

ExframeBase

this is the error all other errors extend from. Use this to create your own custom error for your service

Axios

This error expects to get an error straight from axios

Forbidden

this error sets defaults for a forbidden error

InvalidInput

this error sets defaults for an invalid input error

ResourceNotFound

this error sets defaults for a resource not found error

Unauthorized

this error sets defaults for an unauthorized error

Readme

Keywords

none

Package Sidebar

Install

npm i exframe-errors

Weekly Downloads

450

Version

1.7.3

License

ISC

Unpacked Size

19.5 kB

Total Files

17

Last publish

Collaborators

  • exzeo_usa
  • exzeodevops