Skip to main content

dyn_err

Function dyn_err 

Source
pub fn dyn_err<E>(e: E) -> Box<dyn Error>
where E: Error + 'static,
Expand description

Boxes an error as a dynamically dispatched error.