RoutingError enum - routing library - Dart API
RoutingError enum
Specifies possible errors that may result from the calculation of a route.
Values
- internalError → const RoutingError
-
Generic internal error.
- invalidParameter → const RoutingError
-
An invalid input parameter.
- serverUnreachable → const RoutingError
-
Routing server is unreachable.
- httpError → const RoutingError
-
A general network request error.
- authenticationFailed → const RoutingError
-
Routing operation is not authenticated. Check your credentials.
- forbidden → const RoutingError
-
The provided credentials don't give access to the requested resource.
- exceededUsageLimit → const RoutingError
-
Credentials exceeded the allowed requests limit.
- parsingError → const RoutingError
-
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.
- noRouteFound → const RoutingError
-
No route can be calculated for the given input.
- timedOut → const RoutingError
-
The request timed out.
- offline → const RoutingError
-
The device has no internet connection.
- noIsolineFound → const RoutingError
-
No isoline can be calculated for the given input.
- noRouteHandle → const RoutingError
-
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. See RouteOptions.enableRouteHandle.
- operationCancelled → const RoutingError
-
Operation cancelled.
- couldNotMatchDestination → const RoutingError
-
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.
- couldNotMatchOrigin → const RoutingError
-
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.
- failedRouteHandleCreation → const RoutingError
-
No RouteHandle was created.
- importFailed → const RoutingError
-
No route section was found for imported waypoints.
- noReachableChargingStationFound → const RoutingError
-
Initial charge is not enough to reach any known charging stations.
- routeCalculationFailed → const RoutingError
-
Calculation did not succeed.
- routeLengthLimitExceeded → const RoutingError
-
Distance between waypoints is too large for current options.
- violatedTransportModeInRouteHandleDecoding → const RoutingError
-
Route handle decoding failed due to forbidden segments for the specified transport mode.
- proxyAuthenticationFailed → const RoutingError
-
Proxy is not authenticated. Check your proxy credentials.
- proxyServerUnreachable → const RoutingError
-
Proxy server unreachable.
- activeMapUpdate → const RoutingError
-
Route cannot be calculated due to active map update. Please, repeat the request after map update is finished successfully.
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<
RoutingError> - A constant List of the values in this enum, in order of their declaration.