toggle menu
io.github.goquati
1.3.1
common
switch theme
search in API
io.github.goquati
/
io.github.goquati.kotlin.util
/
mapError
map
Error
common
inline
fun
<
T
,
E1
,
E2
>
Result
<
T
,
E1
>
.
mapError
(
block
:
(
E1
)
->
E2
)
:
Result
<
T
,
E2
>
fun
<
T
,
E
>
<Error class: unknown class>
<
T
>
.
mapError
(
block
:
(
Throwable
)
->
E
)
:
Result
<
T
,
E
>