catch

@JvmName(name = "tryCatch")
inline fun <R> catch(f: () -> R): Either<Throwable, R>


@JvmName(name = "tryCatch")
inline fun <L, R> catch(fe: (Throwable) -> L, f: () -> R): Either<L, R>

Deprecated

This API is considered redundant. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Compose catch with mapLeft instead

Replace with

catch(f).mapLeft(fe)