Pedestal
Toggle table of contents
3.1.1
common
Platform filter
common
Switch theme
Search in API
Pedestal
State
/
opensavvy.state.outcome
/
onFailure
on
Failure
inline
fun
<
Failure
>
Outcome
<
Failure
,
*
>
.
onFailure
(
block
:
(
Failure
)
->
Unit
)
(
source
)
Executes
block
if this outcome is a
failure
.
Otherwise, does nothing.