Crate conjure_error

source ·
Expand description

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

Structs

A backtrace associated with an Error.
A generic CONFLICT error.
A standard error type for network services.
A generic FAILED_PRECONDITION error.
A generic INTERNAL error.
A generic INVALID_ARGUMENT error.
A generic NOT_FOUND error.
A collection of error parameters, either safe or unsafe.
An iterator over the parameters of an error.
A generic PERMISSION_DENIED error.
A generic REQUEST_ENTITY_TOO_LARGE error.
The JSON-serializable representation of an error.
Information about a throttle error.
A generic TIMEOUT error.
Information about an unavailable error.
An ErrorType which wraps another and overrides its instance ID.

Enums

The broad category of a Conjure error.
Information about the specific type of an Error.

Traits

A trait implemented by Conjure error types.

Functions

Encodes a Conjure error into its serialized form.