onFailureIf

inline fun onFailureIf(test: (Throwable) -> Boolean, action: (Throwable) -> Unit): CatchingResult<T>(source)

如果 test,执行 action