Skip to main content

Module error

Module error 

Source
Expand description

Error model for pipe-io.

The crate uses a single top-level Error type that wraps the boxed source error from any stage. Stage-supplied errors only need to satisfy StageError (Debug + Display + Send + Sync + 'static), which every std::error::Error type already does via the blanket impl below. The core::error::Error super-trait was avoided so the error model works at the crate’s MSRV of 1.75.

Structs§

StageFailure
Record describing a per-item stage failure, routed to the dead-letter sink when ErrorPolicy::DeadLetter is active.

Enums§

BufferErrorKind
Kind of buffer-related failure surfaced by a driver.
Error
Top-level error type returned by every pipeline operation.
ErrorPolicy
Per-stage policy for how errors propagate.

Traits§

StageError
Marker trait for error types that stages can produce. Blanket- implemented for every T: Debug + Display + Send + Sync + 'static, which includes every std::error::Error implementor.

Type Aliases§

BoxError
Boxed stage error. Carried by Error variants.
Result
Crate result alias.