Error Information

Diagnose errors generated by the Contacts framework.

Topics

Error Domain

let CNErrorDomain: String

The error domain for the Contacts framework.

Error Codes

struct CNError

Error information that may be returned when using the methods of the Contacts framework.

enum CNError.Code

Error codes that may be returned when using the methods of the Contacts framework.

Error Data Keys

let CNErrorUserInfoAffectedRecordsKey: String

The contact, group, and container objects for which the error code applies.

let CNErrorUserInfoAffectedRecordIdentifiersKey: String

String objects for which the error code applies.

let CNErrorUserInfoValidationErrorsKey: String

An array of validation-related error objects.

let CNErrorUserInfoKeyPathsKey: String

An array of key paths associated with a given error.

Exceptions

let CNContactPropertyNotFetchedExceptionName: String

Exception thrown when an accessed property was not fetched.