---
title: CFErrorGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cferrorgettypeid()
---

# CFErrorGetTypeID()

Returns the type identifier for the CFError opaque type.

## Declaration

```swift
func CFErrorGetTypeID() -> CFTypeID
```

## Return Value

Return Value The type identifier for the CFError opaque type.
