TrafficQueryError
public enum TrafficQueryError : UInt32, CaseIterable, Codable
Represents various errors that could occur from a traffic queries.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Failed to retrieve result since the server has returned an error or invalid result that couldn’t be processed correctly.
Declaration
Swift
case failedToRetrieveResult -
Incident query/flow 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 -
Server unreachable.
Declaration
Swift
case serverUnreachable -
The request timed out.
Declaration
Swift
case timedOut -
The device has no internet connection.
Declaration
Swift
case offline -
Network request error.
Declaration
Swift
case httpError -
Invalid “in” parameter: wrong type, missing or invalid “in”.
Declaration
Swift
case invalidIn -
Invalid geometry: bounding box, circle, or corridor.
Declaration
Swift
case invalidGeometry -
Invalid incident ID, type, earliestStartTime or latestEndTime.
Declaration
Swift
case invalidIncident -
Incident ID is not found in the system.
Declaration
Swift
case incidentIdNotFound -
One or several filter options are invalid.
Declaration
Swift
case invalidFilterOptions -
One or more input parameters in the query is not valid.
Declaration
Swift
case invalidParameter -
Internal error.
Declaration
Swift
case internalError -
Operation cancelled.
Declaration
Swift
case operationCancelled -
Proxy is not authenticated. Check your proxy credentials.
Declaration
Swift
case proxyAuthenticationFailed -
Proxy server unreachable. Error indicates a problem with a proxy server’s accessibility or connectivity.
Declaration
Swift
case proxyServerUnreachable -
Bad request. Error indicates server could not understand or process the request made by the client because the request itself was malformed or incorrect.
Declaration
Swift
case badRequest -
Server has received an excessive number of requests from client within a specific timeframe and client should slow down or wait before sending more requests.
Declaration
Swift
case tooManyRequests