toggle menu
core
2.0.0
common
switch theme
search in API
core
/
pro.respawn.apiresult
/
mapErrors
map
Errors
infix inline
fun
<
T
>
Iterable
<
ApiResult
<
T
>
>
.
mapErrors
(
transform
:
(
Exception
)
->
Exception
)
:
List
<
ApiResult
<
T
>
>
infix inline
fun
<
T
>
Sequence
<
ApiResult
<
T
>
>
.
mapErrors
(
crossinline
transform
:
(
Exception
)
->
Exception
)
:
Sequence
<
ApiResult
<
T
>
>
Maps every
Error
in
this
using
transform