EVSearchError

public enum EVSearchError : UInt32, CaseIterable, Codable

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.

  • Empty list of IDs passed.

    Declaration

    Swift

    case emptyIds
  • At least one empty or invalid ID passed.

    Declaration

    Swift

    case invalidId
  • Something wrong or missing in the request.

    Declaration

    Swift

    case badRequest
  • EVCP3 backend returns result with unexpected json schema.

    Declaration

    Swift

    case parsingError
  • Generic internal error.

    Declaration

    Swift

    case internalError
  • EVCP3 server is unreachable.

    Declaration

    Swift

    case serverUnreachable
  • A general network request error.

    Declaration

    Swift

    case httpError
  • EVCP3 operation is not authenticated. Check your credentials.

    Declaration

    Swift

    case authenticationFailed
  • Credentials exceeded the allowed requests limit.

    Declaration

    Swift

    case exceededUsageLimit
  • The request timed out.

    Declaration

    Swift

    case timedOut
  • The device has no internet connection.

    Declaration

    Swift

    case offline
  • The request was cancelled (usually by the user).

    Declaration

    Swift

    case operationCancelled
  • Proxy is not authenticated. Check your proxy credentials.

    Declaration

    Swift

    case proxyAuthenticationFailed
  • Proxy server unreachable.

    Declaration

    Swift

    case proxyServerUnreachable
  • No results found.

    Declaration

    Swift

    case noResultsFound
  • Search operation failed due to some reason.

    Declaration

    Swift

    case operationFailed