Failed

data class Failed @JvmOverloads constructor(    val message: String,     val throwable: Throwable? = null,     val reasons: List<RouterFailure>? = null) : RerouteState

Re-route request has failed.

You can MapboxNavigation.requestRoutes or MapboxNavigation.setRoutes with RouteOptionsUpdater to retry the request.

Parameters

message

describes error

throwable

optional throwable

reasons

optional reasons for the failure

Constructors

Link copied to clipboard
fun Failed(    message: String,     throwable: Throwable? = null,     reasons: List<RouterFailure>? = null)

Properties

Link copied to clipboard
val message: String
Link copied to clipboard
val reasons: List<RouterFailure>? = null
Link copied to clipboard
val throwable: Throwable? = null