arrow-core
1.0.3-alpha.36
common
arrow-core
/
arrow.core
/
Option
/
Companion
/
catch
catch
common
inline
fun
<
A
>
catch
(
f
:
(
)
->
A
)
:
Option
<
A
>
Content copied to clipboard
Ignores exceptions and returns None if one is thrown
inline
fun
<
A
>
catch
(
recover
:
(
Throwable
)
->
Option
<
A
>
,
f
:
(
)
->
A
)
:
Option
<
A
>
Content copied to clipboard