TrafficQueryError enum - traffic library - Dart API
TrafficQueryError enum
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.
Values
- failedToRetrieveResult → const TrafficQueryError
-
Failed to retrieve result since the server has returned an error or invalid result that couldn't be processed correctly.
- authenticationFailed → const TrafficQueryError
-
Incident query/flow operation is not authenticated. Check your credentials.
- forbidden → const TrafficQueryError
-
The provided credentials don't give access to the requested resource.
- serverUnreachable → const TrafficQueryError
-
Server unreachable.
- timedOut → const TrafficQueryError
-
The request timed out.
- offline → const TrafficQueryError
-
The device has no internet connection.
- httpError → const TrafficQueryError
-
Network request error.
- invalidIn → const TrafficQueryError
-
Invalid "in" parameter: wrong type, missing or invalid "in".
- invalidGeometry → const TrafficQueryError
-
Invalid geometry: bounding box, circle, or corridor.
- invalidIncident → const TrafficQueryError
-
Invalid incident ID, type, earliestStartTime or latestEndTime.
- incidentIdNotFound → const TrafficQueryError
-
Incident ID is not found in the system.
- invalidFilterOptions → const TrafficQueryError
-
One or several filter options are invalid.
- invalidParameter → const TrafficQueryError
-
One or more input parameters in the query is not valid.
- internalError → const TrafficQueryError
-
Internal error.
- operationCancelled → const TrafficQueryError
-
Operation cancelled.
- proxyAuthenticationFailed → const TrafficQueryError
-
Proxy is not authenticated. Check your proxy credentials.
- proxyServerUnreachable → const TrafficQueryError
-
Proxy server unreachable. Error indicates a problem with a proxy server's accessibility or connectivity.
- badRequest → const TrafficQueryError
-
Bad request. Error indicates server could not understand or process the request made by the client because the request itself was malformed or incorrect.
- tooManyRequests → const TrafficQueryError
-
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.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TrafficQueryError> - A constant List of the values in this enum, in order of their declaration.