@snaxfoundation/snax-errors-js

2.0.3 • Public • Published

snax-errors-js

Basic snax errors library

Name code Description
AlreadyExistsError 1 Means that something already exists
BadRequestError 2 Means that request payload is not valid
NotFoundError 3 Means that something not found
GeneralError 4 Means that this error is representing common error and cannot be associated with other error types
TwitterError 5 Means that this error was returned from Twitter API
SteemitError 6 Means that this error was returned from Steemit Chain
RestrictionError 7 Means that not authenticated or not allowed
InternalServerError 8 Means that something in general wrong with the server side
ResourcesUsageError 9 Means that user don't have enough resources to send transactions to the chain

Readme

Keywords

none

Package Sidebar

Install

npm i @snaxfoundation/snax-errors-js

Weekly Downloads

5

Version

2.0.3

License

MIT

Unpacked Size

7.57 kB

Total Files

6

Last publish

Collaborators

  • snax2