Arrow
1.1.5
common
arrow-core
/
arrow.core
/
Validated
/
Companion
/
catch
catch
@
JvmStatic
@
JvmName
(
name
=
"tryCatch"
)
inline
fun
<
A
>
catch
(
f
:
(
)
->
A
)
:
Validated
<
Throwable
,
A
>
(
source
)
@
JvmStatic
@
JvmName
(
name
=
"tryCatch"
)
inline
fun
<
E
,
A
>
catch
(
recover
:
(
Throwable
)
->
E
,
f
:
(
)
->
A
)
:
Validated
<
E
,
A
>
(
source
)