arrow-core-data / arrow.core / Either / catch

catch

suspend fun <R> catch(f: suspend () -> R): Either<Throwable, R> suspend fun <L, R> catch(fe: (Throwable) -> L, f: suspend () -> R): Either<L, R>

Do you like Arrow?

Arrow Org
<