map Failure
inline fun <T> ResultFlow<T>.mapFailure(crossinline failure: suspend (Throwable) -> Throwable): Flow<Result<T>>
Returns a flow containing the output of applying KotlinResult.mapFailure to each value of the original flow.
See also
map