[−][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
Conflict | A generic |
FailedPrecondition | A generic |
Internal | A generic |
InvalidArgument | A generic |
NotFound | A generic |
PermissionDenied | A generic |
RequestEntityTooLarge | A generic |
SerializableError | The JSON-serializable representation of an error. |
Timeout | A generic |
WithInstanceId | An |
Enums
ErrorCode | The broad category of a Conjure error. |
Traits
ErrorType | A trait implemented by Conjure error types. |
Functions
encode | Encodes a Conjure error into its serialized form. |