Package-level declarations

Types

Link copied to clipboard
class ApiKeyError(val message: String = API_KEY_ERROR_MESSAGE) : RoutingError

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

Link copied to clipboard
class BadInputError(val message: String) : RoutingError

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
annotation class ExperimentalRoutingApi
Link copied to clipboard
class HttpError(val httpErrorCode: Int, val message: String) : RoutingError

Routing call ended with unexpected HTTP code.

Link copied to clipboard

Instruction generation failed.

Link copied to clipboard
class InternalError(val message: String) : RoutingError

The internal routing error.

Link copied to clipboard
class MapMatchingError(val message: String) : RoutingError

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
class NetworkError(val message: String) : RoutingError

Routing network call failed with IOException.

Link copied to clipboard
class NoRouteFoundError(val message: String) : RoutingError

No valid route could be found.

Link copied to clipboard

The route reconstruction using supportingPoints failed.

Link copied to clipboard

The calculation was cancelled.

Link copied to clipboard
open class RoutingError(val message: String) : RuntimeException

Represents an error raised when something went wrong in routing.

Link copied to clipboard
class UnknownError(val message: String? = null) : RoutingError

Routing call ended with unknown error.