catch

@JvmName(name = "tryCatchOrNone")
inline fun <A> catch(f: () -> A): Option<A>(source)

Ignores exceptions and returns None if one is thrown


@JvmName(name = "tryCatch")
inline fun <A> catch(recover: (Throwable) -> Option<A>, f: () -> A): Option<A>(source)