Skip to main content

BoxError

Type Alias BoxError 

Source
pub type BoxError = Box<dyn Error + Send + Sync>;
Expand description

Type-erased error type used for middleware composition.

This is the standard error type in the tower ecosystem, used by tower, tower-http, and other tower-compatible crates.

Aliased Typeยง

pub struct BoxError(/* private fields */);