Skip to main content

InterceptorError

Type Alias InterceptorError 

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

Why an Interceptor could not decide.

Boxed rather than an enum of basis’s own, because basis has nothing to say about it: whatever went wrong happened inside the host’s code, against the host’s dependencies. A box lets ? carry any of them out, and the only thing basis does with one is print it in the denial.

Aliased Type§

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