Skip to main content

Module error

Module error 

Source
Expand description

Error types.

Following the project guideline that libraries expose typed errors via thiserror, every fallible boundary returns Error. Business outcomes that are not failures (a cache miss, a factory choosing to reuse a stale value) are modelled in the return type, never as errors.

Structs§

FactoryError
The error a user-supplied factory returns to signal failure.

Enums§

Error
An error surfaced from a cache operation.

Type Aliases§

Result
The crate-wide result alias.