Is there any method on Result
that can convert error of one type to error of another type? Something like:
fn(self: Result<T, E>, Fun(E) -> F) -> Result<T, F>
Is there any method on Result
that can convert error of one type to error of another type? Something like:
fn(self: Result<T, E>, Fun(E) -> F) -> Result<T, F>
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.