Code
public enum Code
Routing error codes
-
An unknown error occurred.
Declaration
Swift
case unknown -
An input parameter combination was invalid.
Declaration
Swift
case badInput -
No valid route could be found.
Declaration
Swift
case noRouteFound -
The service encountered an unexpected error while fulfilling the request.
Declaration
Swift
case internalError -
The route reconstruction using supportingPoints failed.
Declaration
Swift
case cannotRestoreBaseroute -
The service is not ready to handle the request.
Declaration
Swift
case serviceUnavailable -
Deserialization of routing response failed.
Declaration
Swift
case deserialization -
The network is unavailable.
Declaration
Swift
case network -
The request timed out.
Declaration
Swift
case computationTimeout -
The API key has no permission to access this resource.
Declaration
Swift
case apiKeyError -
An input point (Origin, Destination, Waypoints) could not be mapmatched. No drivable road could be found near this point.
Declaration
Swift
case mapMatchingFailure -
The request has been cancelled.
Declaration
Swift
case cancelled -
The map is inaccessible.
Declaration
Swift
case mapInaccessible
TomTom SDK for iOS (0.53.1)
Code