EVSearchError enum
Specifies possible errors that EVSearchEngine may report.
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
- emptyIds → const EVSearchError
-
Empty list of IDs passed.
- invalidId → const EVSearchError
-
At least one empty or invalid ID passed.
- badRequest → const EVSearchError
-
Something wrong or missing in the request.
- parsingError → const EVSearchError
-
EVCP3 backend returns result with unexpected json schema.
- internalError → const EVSearchError
-
Generic internal error.
- serverUnreachable → const EVSearchError
-
EVCP3 server is unreachable.
- httpError → const EVSearchError
-
A general network request error.
- authenticationFailed → const EVSearchError
-
EVCP3 operation is not authenticated. Check your credentials.
- exceededUsageLimit → const EVSearchError
-
Credentials exceeded the allowed requests limit.
- timedOut → const EVSearchError
-
The request timed out.
- offline → const EVSearchError
-
The device has no internet connection.
- operationCancelled → const EVSearchError
-
The request was cancelled (usually by the user).
- proxyAuthenticationFailed → const EVSearchError
-
Proxy is not authenticated. Check your proxy credentials.
- proxyServerUnreachable → const EVSearchError
-
Proxy server unreachable.
- noResultsFound → const EVSearchError
-
No results found.
- operationFailed → const EVSearchError
-
Search operation failed due to some reason.
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<
EVSearchError> - A constant List of the values in this enum, in order of their declaration.