---
title: Error Domains
framework: cfnetwork
role: collectionGroup
role_heading: API Collection
path: cfnetwork/error-domains
---

# Error Domains

High-level error domains.

## Overview

Overview To determine the source of an error, examine the userInfo dictionary included in the CFError object returned by a function call or call CFErrorGetDomain(_:) and pass in the CFError object and the domain whose value you want to read.

## Topics

### Constants

- [kCFErrorDomainCFNetwork](cfnetwork/kcferrordomaincfnetwork.md)
- [kCFErrorDomainWinSock](cfnetwork/kcferrordomainwinsock.md)

## See Also

### Errors

- [CFNetworkErrors](cfnetwork/cfnetworkerrors.md)
- [Error Dictionary Keys](cfnetwork/error-dictionary-keys.md)
