ContCrashRecoverExtension<E, F, A> extension

on

Methods

crashRecoverElse(F f(ContCrash crash)) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash by computing an error from the crash.
crashRecoverElse0(F f()) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash by computing an error, ignoring the crash.
crashRecoverElseWith(F error) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash with a constant fallback error.
crashRecoverElseWithEnv(F f(E env, ContCrash crash)) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash with access to both crash and environment.
crashRecoverElseWithEnv0(F f(E env)) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash with access to the environment only.
crashRecoverThen(A f(ContCrash crash)) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash by computing a replacement value from the crash.
crashRecoverThen0(A f()) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash by computing a replacement value, ignoring the crash.
crashRecoverThenWith(A value) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash with a constant fallback value.
crashRecoverThenWithEnv(A f(E env, ContCrash crash)) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash with access to both crash and environment.
crashRecoverThenWithEnv0(A f(E env)) → Cont<E, F, A>

Available on Cont<E, F, A>, provided by the ContCrashRecoverExtension extension

Recovers from a crash with access to the environment only.