SearchError

public enum SearchError : UInt32, CaseIterable, Codable

Specifies possible errors that may result from a search query.

  • Search operation is not authenticated. Check your credentials.

    Declaration

    Swift

    case authenticationFailed = 1
  • Should be in the range [1, 100].

    Declaration

    Swift

    case maxItemsOutOfRange
  • Error while parsing response data.

    Declaration

    Swift

    case parsingError
  • No results found.

    Declaration

    Swift

    case noResultsFound
  • Network request error.

    Declaration

    Swift

    case httpError
  • Server unreachable.

    Declaration

    Swift

    case serverUnreachable
  • The credentials given do not provide access to the resource requested.

    Declaration

    Swift

    case forbidden
  • Credentials exceeded the allowed requests limit.

    Declaration

    Swift

    case exceededUsageLimit
  • Operation failed due to an internal error.

    Declaration

    Swift

    case operationFailed
  • Operation cancelled.

    Declaration

    Swift

    case operationCancelled
  • The request timed out.

    Declaration

    Swift

    case timedOut
  • The device does not have an internet connection.

    Declaration

    Swift

    case offline
  • Query is too long, max. size is 300 characters.

    Declaration

    Swift

    case queryTooLong
  • Filter is too long, max. size is 300 characters.

    Declaration

    Swift

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

    Declaration

    Swift

    case proxyAuthenticationFailed
  • Proxy server unreachable.

    Declaration

    Swift

    case proxyServerUnreachable
  • Empty query

    Declaration

    Swift

    case queryEmpty
  • Box or circle area of query is invalid

    Declaration

    Swift

    case invalidArea
  • Filter is empty

    Declaration

    Swift

    case filterEmpty
  • Corridor area polyline size is less than 2 points

    Declaration

    Swift

    case invalidCorridorPolyline
  • Url is invalid

    Declaration

    Swift

    case invalidUrl
  • Custom options are set in an invalid format in the query

    Declaration

    Swift

    case invalidCustomOptionFormat
  • Light truck class is passed in the filter

    Declaration

    Swift

    case invalidTruckClass
  • Bad network request

    Declaration

    Swift

    case badRequest
  • Offline map data is incomplete for the requested operation. Regions are not downloaded or are in the Pending state.

    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.

    Declaration

    Swift

    case mapNotReady
  • Downloaded regions missing LayerConfiguration.Feature.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.

    Declaration

    Swift

    case layersNotDownloaded