---
title: domain
framework: corefoundation
role: symbol
role_heading: Instance Property
path: corefoundation/cfstreamerror/domain
---

# domain

The error domain that should be used to interpret the error. See CFStreamErrorDomain for possible values.

## Declaration

```swift
var domain: CFIndex
```
