toggle menu
RTVI Client
androidJvm
switch theme
search in API
rtvi-client-android
/
ai.rtvi.client.result
/
ifError
if
Error
inline
fun
<
V
,
E
>
Result
<
V
,
E
>
.
ifError
(
onError
:
(
E
)
->
Unit
)
Kotlin convenience method: invoke the callback if the result is an error.