<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/1429999-reading-and-writing-error-codes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Reading and Writing Error Codes"
}
-->

# Reading and Writing Error Codes

Error codes for property list reading and writing functions such as [`CFPropertyListCreateWithData(_:_:_:_:_:)`](/documentation/CoreFoundation/CFPropertyListCreateWithData(_:_:_:_:_:)).

## Topics

### Constants

[`var kCFPropertyListReadCorruptError: CFIndex`](/documentation/CoreFoundation/kCFPropertyListReadCorruptError)

Signifies an error parsing a property list.

[`var kCFPropertyListReadUnknownVersionError: CFIndex`](/documentation/CoreFoundation/kCFPropertyListReadUnknownVersionError)

Signifies the version number in the property list is unknown.

[`var kCFPropertyListReadStreamError: CFIndex`](/documentation/CoreFoundation/kCFPropertyListReadStreamError)

Signifies a stream error reading a property list.

[`var kCFPropertyListWriteStreamError: CFIndex`](/documentation/CoreFoundation/kCFPropertyListWriteStreamError)

Signifies a stream error writing a property list.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)