ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
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