Arrow
1.1.5
common
arrow-core
/
arrow.core
/
handleError
handle
Error
inline
fun
<
A
,
B
>
Either
<
A
,
B
>
.
handleError
(
f
:
(
A
)
->
B
)
:
Either
<
A
,
B
>
(
source
)
inline
fun
<
A
>
Option
<
A
>
.
handleError
(
f
:
(
Unit
)
->
A
)
:
Option
<
A
>
(
source
)
inline
fun
<
E
,
A
>
Validated
<
E
,
A
>
.
handleError
(
f
:
(
E
)
->
A
)
:
Validated
<
Nothing
,
A
>
(
source
)