toggle menu
arc-result
0.98.0
jvm
switch theme
search in API
arc-result
/
ai.ancf.lmos.arc.core
/
mapFailure
map
Failure
inline
fun
<
R
,
E
:
Exception
,
T
:
Exception
>
Result
<
R
,
E
>
.
mapFailure
(
transform
:
(
E
)
->
T
)
:
Result
<
R
,
T
>
Creates a new Result with the exception mapped to a new type.