kotlin-result
1.1.14
kotlin-result
/
com.github.michaelbull.result
/
onFailure
on
Failure
infix inline
fun
<
V
,
E
>
Result
<
V
,
E
>
.
onFailure
(
action
:
(
E
)
->
Unit
)
:
Result
<
V
,
E
>
Content copied to clipboard
Invokes an
action
if this
Result
is
Err
.