SearchError enum
Specifies possible errors that may result from a search query.
Values
- authenticationFailed → const SearchError
-
Search operation is not authenticated. Check your credentials.
- maxItemsOutOfRange → const SearchError
-
Should be in the range [1, 100].
- parsingError → const SearchError
-
Error while parsing response data.
- noResultsFound → const SearchError
-
No results found.
- httpError → const SearchError
-
Network request error.
- serverUnreachable → const SearchError
-
Server unreachable.
- forbidden → const SearchError
-
The credentials given do not provide access to the resource requested.
- exceededUsageLimit → const SearchError
-
Credentials exceeded the allowed requests limit.
- operationFailed → const SearchError
-
Operation failed due to an internal error.
- operationCancelled → const SearchError
-
Operation cancelled.
- timedOut → const SearchError
-
The request timed out.
- offline → const SearchError
-
The device does not have an internet connection.
- queryTooLong → const SearchError
-
Query is too long, max. size is 300 characters.
- filterTooLong → const SearchError
-
Filter is too long, max. size is 300 characters.
- proxyAuthenticationFailed → const SearchError
-
Proxy is not authenticated. Check your proxy credentials.
- proxyServerUnreachable → const SearchError
-
Proxy server unreachable.
- queryEmpty → const SearchError
-
Empty query
- invalidArea → const SearchError
-
Box or circle area of query is invalid
- filterEmpty → const SearchError
-
Filter is empty
- invalidCorridorPolyline → const SearchError
-
Corridor area polyline size is less than 2 points
- invalidUrl → const SearchError
-
Url is invalid
- invalidCustomOptionFormat → const SearchError
-
Custom options are set in an invalid format in the query
- invalidTruckClass → const SearchError
-
Light truck class is passed in the filter
- badRequest → const SearchError
-
Bad network request
- mapNotReady → const SearchError
-
Offline map data is incomplete for the requested operation. Regions are not downloaded or are in the
Pendingstate.Note: This is an alpha 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.
- layersNotDownloaded → const SearchError
-
Downloaded regions missing LayerConfigurationFeature.offlineSearchGlobal feature. Update or redownload regions with enabled feature.
Note: This is an alpha 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.
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<
SearchError> - A constant List of the values in this enum, in order of their declaration.