pub type BoxError = Box<dyn Error + Send + Sync + 'static>;Expand description
A boxed, type-erased error source. The HarnessError variants carry one
of these instead of #[from]-ing a single concrete type, because each
category can be produced by more than one underlying error: a Spawn
failure is a cli_stream::StreamError for the claude/codex adapters but a
bob_rs::BobError for bob. The real error stays reachable through
std::error::Error::source (and downcast_ref); the category is the
variant.
Aliased Type§
pub struct BoxError(/* private fields */);