pub fn wrap_err<T, E: Error + Send + Sync + 'static>( result: Result<T, E>, ) -> Result<T>
Wrap a Result into an okerr/anyhow Error.
Equivalent to result.map_err(okerr::Error::new)
result.map_err(okerr::Error::new)