---
title: CSSearchQueryErrorDomain
framework: Core Spotlight
role: symbol
role_heading: Global Variable
platforms: [iOS 10.0+, iPadOS 10.0+, Mac Catalyst 13.1+, macOS 10.12+, visionOS 1.0+]
path: corespotlight/cssearchqueryerrordomain
---

# CSSearchQueryErrorDomain

The error domain for search queries.

## Declaration

```swift
let CSSearchQueryErrorDomain: String
```

## See Also

### Query Errors

- [CSSearchQueryError.Code](corespotlight/cssearchqueryerror/code.md)
