mapFailure

inline fun <G : Throwable> mapFailure(transform: (value: F) -> G): Result<S, G>