Expand description
Provides common error types and associated convenience methods for TinyChain.
This crate is a part of TinyChain: http://github.com/haydnv/tinychain
Macros§
- bad_
gateway - Error to convey an upstream problem
- bad_
request - Error to indicate that the request is badly-constructed or nonsensical
- conflict
- Error to indicate that the request cannot be fulfilled due to a conflict with another request.
- forbidden
- Error to indicate that the requestor’s credentials do not authorize the request to be fulfilled
- internal
- A truly unexpected error, for which no handling behavior can be defined
- not_
found - Error to indicate that no resource exists at the requested path or key.
- not_
implemented - Error to indicate that a required feature is not yet implemented.
- timeout
- Error to indicate that the request failed to complete in the allotted time.
- unauthorized
- Error to indicate that the user’s credentials are missing or nonsensical.
- unavailable
- Error to indicate that this host is currently overloaded
Structs§
- TCError
- A general error description.
Enums§
- Error
Kind - The category of a
TCError
.