QueryError

public enum QueryError: Error

Errors thrown for queries which have invalid construction.

  • Thrown if the query string for a full-text search query only has less than 2 characters.

    Declaration

    Swift

    case textSearchTooShort
  • Thrown when attempting to order query results with a property that is not prefixed with fields. or sys..

    Declaration

    Swift

    case invalidOrderProperty
  • Thrown when a selection for the select operator is constructed in a way that is invalid.

    Declaration

    Swift

    case invalidSelection(fieldKeyPath: String)
  • Thrown when over 99 properties have been selected. The CDA only supports 100 selections and the SDK always includes sys as one of them.

    Declaration

    Swift

    case maxSelectionLimitExceeded