onEachFailure

inline fun <T> KotlinResultFlow<T>.onEachFailure(crossinline action: suspend (Throwable) -> Unit): KotlinResultFlow<T>

Invokes action with the unwrapped Throwable before each failed element is emitted downstream. Successes pass through unaffected.