attempt

open suspend fun <E, A> attempt(f: suspend EffectScope<E>.() -> A): Effect<E, A>

Deprecated

Use recover or effect & recover instead

Replace with

effect { f() }