arrow-core
1.1.3-alpha.29
common
arrow-core
/
arrow.core
/
Either
/
Companion
/
catch
catch
common
@
JvmStatic
@
JvmName
(
name
=
"tryCatch"
)
inline
fun
<
R
>
catch
(
f
:
(
)
->
R
)
:
Either
<
Throwable
,
R
>
Content copied to clipboard
@
JvmStatic
@
JvmName
(
name
=
"tryCatch"
)
inline
fun
<
L
,
R
>
catch
(
fe
:
(
Throwable
)
->
L
,
f
:
(
)
->
R
)
:
Either
<
L
,
R
>
Content copied to clipboard