arrow-fx / arrow.fx.extensions / IOApplicativeError

IOApplicativeError

interface ~~IOApplicativeError~~ : ApplicativeError<ForIO, Throwable>, IOApplicative Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/

Functions

attempt open fun <A> IOOf<A>.attempt(): IO<Either<Throwable, A>>
handleError open fun <A> IOOf<A>.handleError(f: (Throwable) -> A): IO<A>
handleErrorWith open fun <A> IOOf<A>.handleErrorWith(f: (Throwable) -> IOOf<A>): IO<A>
raiseError open fun <A> raiseError(e: Throwable): IO<A>
redeem open fun <A, B> IOOf<A>.redeem(fe: (Throwable) -> B, fb: (A) -> B): IO<B>

Inheritors

IOMonadError interface ~~IOMonadError~~ : MonadError<ForIO, Throwable>, IOApplicativeError, IOMonad

Do you like Arrow?

Arrow Org
<