---
title: "init(domain:error:)"
framework: corefoundation
role: symbol
role_heading: Initializer
path: "corefoundation/cfstreamerror/init(domain:error:)"
---

# init(domain:error:)

## Declaration

```swift
init(domain: CFIndex, error: Int32)
```
