reaktive
Toggle table of contents
2.4.0
common
Platform filter
common
Switch theme
Search in API
reaktive
reaktive
/
com.badoo.reaktive.base
/
tryCatch
try
Catch
inline
fun
<
T
>
ErrorCallback
.
tryCatch
(
block
:
(
)
->
T
,
errorTransformer
:
(
Throwable
)
->
Throwable
=
{ it }
,
onSuccess
:
(
T
)
->
Unit
)
inline
fun
ErrorCallback
.
tryCatch
(
errorTransformer
:
(
Throwable
)
->
Throwable
=
{ it }
,
block
:
(
)
->
Unit
)