ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
core
/
pro.respawn.apiresult
/
mapErrorToCause
map
Error
To
Cause
inline
fun
<
T
>
ApiResult
<
T
>
.
mapErrorToCause
(
)
:
ApiResult
<
T
>
Maps the error of the result, if present, to its
cause
, or self if
cause
is not available