Function to_error

Source
fn to_error(err: impl Display) -> RuntimeError