Function ees::to_err

source · []
pub fn to_err(error: impl Into<Error>) -> impl Error + Send + Sync + 'static
Expand description

Convert any error into a type that implements std::error::Error. This is mainly useful for converting Error types to anyhow::Error or similar.