onFailureOf

inline fun <T : Throwable> Result<*>.onFailureOf(onFailure: (T) -> Unit): Result<*>