Maps and Navigation SDK
1.1.6
androidJvm
com.tomtom.sdk.common:core
/
com.tomtom.sdk.common
/
Result
/
Companion
/
failure
failure
@
JvmStatic
fun
<
FailureType
>
failure
(
failure
:
FailureType
)
:
Result.Failure
<
FailureType
>
Creates a
Result.Failure
from the given
failure
.
Parameters
failure
The failure that will be wrapped with
Result
.