onFailure

inline fun onFailure(action: (Throwable) -> Unit): Result<T>