Enumeration Case

CSSearchQueryError.Code.invalidQuery

The query is invalid, such as a syntactically invalid query or one that specifies items that your app isn’t entitled to access.

Declaration

case invalidQuery = -2002