Skip to main content

Module error

Module error 

Source
Expand description

Core error type: the single #[non_exhaustive] enum applications see.

Payloads that would push the enum past 128 bytes are boxed (Provider, Download, InvalidToolInput, NoObjectGenerated, NoSuchProvider); see the error-model design document.

Structs§

DownloadDetails
Payload of Error::Download.
InvalidToolInputDetails
Payload of Error::InvalidToolInput.
NoObjectGeneratedDetails
Payload of Error::NoObjectGenerated.
NoSuchProviderDetails
Payload of Error::NoSuchProvider.

Enums§

Error
Errors returned by the core API.
ErrorKind
Low-cardinality error category for logs and telemetry.
RetryReason
Why a retry loop stopped.

Type Aliases§

BoxError
A boxed error.