---
title: kCFErrorDescriptionKey
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcferrordescriptionkey
---

# kCFErrorDescriptionKey

Key to identify the description in the userInfo dictionary.

## Declaration

```swift
let kCFErrorDescriptionKey: CFString!
```

## Discussion

Discussion When you create a CFError object, you can provide a value for this key if you do not have localizable error strings. The description should be a complete sentence if possible, and should not contain the domain name or error code.

## See Also

### Constants

- [kCFErrorLocalizedDescriptionKey](corefoundation/kcferrorlocalizeddescriptionkey.md)
- [kCFErrorLocalizedFailureReasonKey](corefoundation/kcferrorlocalizedfailurereasonkey.md)
- [kCFErrorLocalizedRecoverySuggestionKey](corefoundation/kcferrorlocalizedrecoverysuggestionkey.md)
- [kCFErrorUnderlyingErrorKey](corefoundation/kcferrorunderlyingerrorkey.md)
- [kCFErrorURLKey](corefoundation/kcferrorurlkey.md)
- [kCFErrorFilePathKey](corefoundation/kcferrorfilepathkey.md)
