[−][src]Crate conjure_error
Runtime support for Conjure error types.
Conjure errors are represented by a struct implementing the ErrorType trait. The struct's fields are the error's
parameters, and the trait implementation stores the remainder of the error's information.
Modules
| conflict | |
| error_code | |
| failed_precondition | |
| internal | |
| invalid_argument | |
| not_found | |
| permission_denied | |
| request_entity_too_large | |
| serializable_error | |
| timeout |
Structs
| Backtrace | A backtrace associated with an |
| Conflict | A generic |
| Error | A standard error type for network services. |
| FailedPrecondition | A generic |
| Internal | A generic |
| InvalidArgument | A generic |
| NotFound | A generic |
| Params | A collection of error parameters, either safe or unsafe. |
| ParamsIter | An iterator over the parameters of an error. |
| PermissionDenied | A generic |
| RequestEntityTooLarge | A generic |
| SerializableError | The JSON-serializable representation of an error. |
| ThrottleError | Information about a throttle error. |
| Timeout | A generic |
| UnavailableError | Information about an unavailable error. |
| WithInstanceId | An |
Enums
| ErrorCode | The broad category of a Conjure error. |
| ErrorKind | Information about the specific type of an |
Traits
| ErrorType | A trait implemented by Conjure error types. |
Functions
| encode | Encodes a Conjure error into its serialized form. |