Types

Link copied to clipboard
class ApiKeyFailure(val message: String = API_KEY_FAILURE_MESSAGE) : RoutingFailure

Routing call did not finish due to a problem with the API key.

Link copied to clipboard
class BadInputFailure(val message: String) : RoutingFailure

Some input parameter combination was not valid.

Link copied to clipboard

Indicates that the request reached an internal computation time threshold and timed out.

Link copied to clipboard

Deserialization failed. Examples that could trigger this error are:

Link copied to clipboard
class HttpFailure(val httpErrorCode: Int, val message: String) : RoutingFailure

Routing call ended with unexpected HTTP code.

Link copied to clipboard

The increment of route contents failed.

Link copied to clipboard

Instruction generation failed.

Link copied to clipboard
class InternalFailure(val message: String) : RoutingFailure

The internal routing failure.

Link copied to clipboard

Routing failed because the map is inaccessible.

Link copied to clipboard

One of the input points (Origin, Destination, Waypoints) could not be matched to the map because there is no known drivable section near this point.

Link copied to clipboard

Merging lane section failed.

Link copied to clipboard
class NetworkFailure(val message: String) : RoutingFailure

Routing network call failed with IOException.

Link copied to clipboard

No valid route could be found.

Link copied to clipboard

Merging of instruction failed.

Link copied to clipboard

The calculation was cancelled.

Link copied to clipboard

The route reconstruction using supportingPoints failed.

Link copied to clipboard

The route replanning failed.

Link copied to clipboard
class UnknownFailure(val message: String? = null) : RoutingFailure

Routing call ended with unknown error.

Properties

Link copied to clipboard