arrow-streams / arrow.streams.internal / arrow.Kind / handleErrorWith

handleErrorWith

fun <F, R> FreeCOf<F, R>.handleErrorWith(h: (Throwable) -> FreeCOf<F, R>): FreeC<F, R>

Handle any error, potentially recovering from it, by mapping it to a FreeCOf value by h.

Do you like Arrow?

Arrow Org
<