RoutingError
public enum RoutingError : UInt32, CaseIterable, Codable
Specifies possible errors that may result from the calculation of a route.
-
Generic internal error.
Declaration
Swift
case internalError = 1 -
An invalid input parameter.
Declaration
Swift
case invalidParameter -
Routing server is unreachable.
Declaration
Swift
case serverUnreachable -
A general network request error.
Declaration
Swift
case httpError -
Routing operation is not authenticated. Check your credentials.
Declaration
Swift
case authenticationFailed -
The provided credentials don’t give access to the requested resource.
Declaration
Swift
case forbidden -
Credentials exceeded the allowed requests limit.
Declaration
Swift
case exceededUsageLimit -
Error while parsing route data. This is not expected to happen. Try updating to the newest version of the SDK. If the problem persists, please report a bug in the SDK.
Declaration
Swift
case parsingError -
No route can be calculated for the given input.
Declaration
Swift
case noRouteFound -
The request timed out.
Declaration
Swift
case timedOut -
The device has no internet connection.
Declaration
Swift
case offline -
No isoline can be calculated for the given input.
Declaration
Swift
case noIsolineFound -
The route has no
Route.routeHandle, but it was used for a feature that requires one. Consider to recalculate the route with a route handle. SeeRouteOptions.enableRouteHandle.Declaration
Swift
case noRouteHandle -
Operation cancelled.
Declaration
Swift
case operationCancelled -
Destination waypoint could not be matched to a road network. Either this waypoint is far from road network or not enough data has been downloaded. When both, origin and destination, cannot be matched, then the origin waypoint error will take precedence.
Declaration
Swift
case couldNotMatchDestination -
Origin waypoint could not be matched to a road network. Either this waypoint is far from road network or not enough data has been downloaded. When both, origin and destination, cannot be matched, then the origin waypoint error will take precedence.
Declaration
Swift
case couldNotMatchOrigin -
No RouteHandle was created.
Declaration
Swift
case failedRouteHandleCreation -
No route section was found for imported waypoints.
Declaration
Swift
case importFailed -
Initial charge is not enough to reach any known charging stations.
Declaration
Swift
case noReachableChargingStationFound -
Calculation did not succeed.
Declaration
Swift
case routeCalculationFailed -
Distance between waypoints is too large for current options.
Declaration
Swift
case routeLengthLimitExceeded -
Route handle decoding failed due to forbidden segments for the specified transport mode.
Declaration
Swift
case violatedTransportModeInRouteHandleDecoding -
Proxy is not authenticated. Check your proxy credentials.
Declaration
Swift
case proxyAuthenticationFailed -
Proxy server unreachable.
Declaration
Swift
case proxyServerUnreachable -
Route cannot be calculated due to active map update. Please, repeat the request after map update is finished successfully.
Declaration
Swift
case activeMapUpdate