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.
orsys.
.Declaration
Swift
case invalidOrderProperty
-
Thrown when a value greater than 1000 is used for limiting the results of a query.
Declaration
Swift
case maximumLimitExceeded
-
Thrown when attempting to specify a mimetype_group on model of
Entrytype.Declaration
Swift
case mimetypeSpecifiedOnEntry
-
Thrown when a selection for the
selectoperator 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
View on GitHub
QueryError Enum Reference