runOnError

inline fun <T, E> Outcome<T, E>.runOnError(block: (E) -> Unit): Outcome<T, E>