kotest-fp / io.kotest.fp / Try / onFailure

onFailure

inline fun onFailure(f: (Throwable) -> Unit): Try<T>