arrow-core-data / arrow.core / Either / catch
suspend inline fun <R> ~~catch~~(f: suspend () -> R): Either<Throwable, R>
Deprecated: Use the inline version. Hidden for binary compat
@JvmStatic @JvmName("tryCatch") inline fun <R> catch(f: () -> R): Either<Throwable, R>
suspend fun <L, R> ~~catch~~(fe: (Throwable) -> L, f: suspend () -> R): Either<L, R>
Deprecated: Use the inline version. Hidden for binary compat
@JvmStatic @JvmName("tryCatch") inline fun <L, R> catch(fe: (Throwable) -> L, f: () -> R): Either<L, R>
Do you like Arrow?
✖