pub fn dyn_rc_err<T>(err: T) -> Rc<dyn Error>where T: Error + 'static,
Wraps an error in a reference-counted, dynamically dispatched error.