Konstant
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Konstant
konstant-core
/
io.github.fiol_dev.konstant.core
/
ConfigResult
/
onFailure
on
Failure
fun
onFailure
(
action
:
(
List
<
ConfigError
>
)
->
Unit
)
:
ConfigResult
<
T
>
(
source
)
Runs
action
with the errors if this is a
Failure
, then returns this result.