Function to_nerve_error

pub fn to_nerve_error<E>(error: E, component: ComponentType) -> NerveError
where E: Error,
Expand description

Convert a standard error to NerveError