toggle menu
Karith
0.2.0
common
switch theme
search in API
Karith
/
com.skyecodes.karith
/
KthResult
/
onError
on
Error
open
fun
onError
(
block
:
(
E
)
->
Unit
)
:
KthResult
<
T
,
E
>
Executes a block of code when the result is
Error
, otherwise does nothing.
Parameters
block
The block to execute.