RoutingErrorCode
public enum RoutingErrorCode : Decodable
Contains routing error codes
Important
This is a Public Preview API. It may be changed or removed at any time.-
Routing call ended with unknown error.
Declaration
Swift
case unknown
-
Some input parameter combination was not valid.
Declaration
Swift
case badInput
-
No valid route could be found.
Declaration
Swift
case noRouteFound
-
The service encountered an unexpected error during 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
-
Routing network call failed.
Declaration
Swift
case network
-
Indicates that the request reached an internal computation time threshold and timed out.
Declaration
Swift
case computationTimeout
-
indicates that the API key has no permission to access this resource.
Declaration
Swift
case apiKeyError
-
One of the input points (Origin, Destination, Waypoints) could not be matched to the map because no drivable section near this point could be found.
Declaration
Swift
case mapMatchingFailure
-
The request has been cancelled
Declaration
Swift
case cancelled
-
Declaration
Swift
public init(from decoder: Decoder) throws