onEachFailure

inline fun <Ok, Error> OutcomeFlow<Ok, Error>.onEachFailure(crossinline block: suspend (Error) -> Unit): OutcomeFlow<Ok, Error>

Returns an OutcomeFlow that invokes block for each Failure outcome before emitting it downstream. Success outcomes pass through unaffected.