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
/
ResolveResult
/
onError
on
Error
fun
onError
(
action
:
(
ConfigError
)
->
Unit
)
:
ResolveResult
<
T
>
(
source
)
Runs
action
with the error if this is an
Error
, then returns this result.