One Logo Pool Ball
Contacts · IOS API REFERENCE

CNError

struct · iOS 9.0+ · SDK 27.1

struct CNError

Members (32)

get · iOS 9.0+

errorDomain

TypeScript
static get errorDomain(): string
Swift declaration
static var errorDomain: String { get }

The domain of the error.

get · iOS 11.0+

vCardMalformed

TypeScript
static get vCardMalformed(): CNError_Code
Swift declaration
static var vCardMalformed: CNError.Code { get }
get · iOS 9.0+

dataAccessError

TypeScript
static get dataAccessError(): CNError_Code
Swift declaration
static var dataAccessError: CNError.Code { get }
get · iOS 9.0+

policyViolation

TypeScript
static get policyViolation(): CNError_Code
Swift declaration
static var policyViolation: CNError.Code { get }
get · iOS 9.0+

containmentCycle

TypeScript
static get containmentCycle(): CNError_Code
Swift declaration
static var containmentCycle: CNError.Code { get }
get · iOS 9.0+

containmentScope

TypeScript
static get containmentScope(): CNError_Code
Swift declaration
static var containmentScope: CNError.Code { get }
get · iOS 9.0+

predicateInvalid

TypeScript
static get predicateInvalid(): CNError_Code
Swift declaration
static var predicateInvalid: CNError.Code { get }
get · iOS 13.0+

unauthorizedKeys

TypeScript
static get unauthorizedKeys(): CNError_Code
Swift declaration
static var unauthorizedKeys: CNError.Code { get }
get · iOS 13.0+

recordNotWritable

TypeScript
static get recordNotWritable(): CNError_Code
Swift declaration
static var recordNotWritable: CNError.Code { get }
get · iOS 9.0+

communicationError

TypeScript
static get communicationError(): CNError_Code
Swift declaration
static var communicationError: CNError.Code { get }
get · iOS 9.0+

recordDoesNotExist

TypeScript
static get recordDoesNotExist(): CNError_Code
Swift declaration
static var recordDoesNotExist: CNError.Code { get }
get · iOS 9.0+

authorizationDenied

TypeScript
static get authorizationDenied(): CNError_Code
Swift declaration
static var authorizationDenied: CNError.Code { get }
get · iOS 17.0+

featureNotAvailable

TypeScript
static get featureNotAvailable(): CNError_Code
Swift declaration
static var featureNotAvailable: CNError.Code { get }
get · iOS 9.0+

changeHistoryExpired

TypeScript
static get changeHistoryExpired(): CNError_Code
Swift declaration
static var changeHistoryExpired: CNError.Code { get }
get · iOS 13.0+

featureDisabledByUser

TypeScript
static get featureDisabledByUser(): CNError_Code
Swift declaration
static var featureDisabledByUser: CNError.Code { get }
get · iOS 9.0+

validationTypeMismatch

TypeScript
static get validationTypeMismatch(): CNError_Code
Swift declaration
static var validationTypeMismatch: CNError.Code { get }
get · iOS 9.0+

clientIdentifierInvalid

TypeScript
static get clientIdentifierInvalid(): CNError_Code
Swift declaration
static var clientIdentifierInvalid: CNError.Code { get }
get · iOS 9.0+

recordIdentifierInvalid

TypeScript
static get recordIdentifierInvalid(): CNError_Code
Swift declaration
static var recordIdentifierInvalid: CNError.Code { get }
get · iOS 12.0+

vCardSummarizationError

TypeScript
static get vCardSummarizationError(): CNError_Code
Swift declaration
static var vCardSummarizationError: CNError.Code { get }
get · iOS 9.0+

parentRecordDoesNotExist

TypeScript
static get parentRecordDoesNotExist(): CNError_Code
Swift declaration
static var parentRecordDoesNotExist: CNError.Code { get }
get · iOS 9.0+

validationMultipleErrors

TypeScript
static get validationMultipleErrors(): CNError_Code
Swift declaration
static var validationMultipleErrors: CNError.Code { get }
get · iOS 9.0+

clientIdentifierCollision

TypeScript
static get clientIdentifierCollision(): CNError_Code
Swift declaration
static var clientIdentifierCollision: CNError.Code { get }
get · iOS 9.0+

changeHistoryInvalidAnchor

TypeScript
static get changeHistoryInvalidAnchor(): CNError_Code
Swift declaration
static var changeHistoryInvalidAnchor: CNError.Code { get }
get · iOS 13.0+

parentContainerNotWritable

TypeScript
static get parentContainerNotWritable(): CNError_Code
Swift declaration
static var parentContainerNotWritable: CNError.Code { get }
get · iOS 9.0+

insertedRecordAlreadyExists

TypeScript
static get insertedRecordAlreadyExists(): CNError_Code
Swift declaration
static var insertedRecordAlreadyExists: CNError.Code { get }
get · iOS 9.0+

clientIdentifierDoesNotExist

TypeScript
static get clientIdentifierDoesNotExist(): CNError_Code
Swift declaration
static var clientIdentifierDoesNotExist: CNError.Code { get }
get · iOS 9.0+

validationConfigurationError

TypeScript
static get validationConfigurationError(): CNError_Code
Swift declaration
static var validationConfigurationError: CNError.Code { get }
get · iOS 11.3+

noAccessableWritableContainers

TypeScript
static get noAccessableWritableContainers(): CNError_Code
Swift declaration
static var noAccessableWritableContainers: CNError.Code { get }
get · iOS 9.0+

changeHistoryInvalidFetchRequest

TypeScript
static get changeHistoryInvalidFetchRequest(): CNError_Code
Swift declaration
static var changeHistoryInvalidFetchRequest: CNError.Code { get }
get · iOS 9.0+

affectedRecords

TypeScript
get affectedRecords(): (Array<unknown>) | null
Swift declaration
var affectedRecords: [AnyObject]? { get }

One or more CNContact, CNGroup or CNContainer objects for which the error applies.

get · iOS 9.0+

affectedRecordIdentifiers

TypeScript
get affectedRecordIdentifiers(): (Array<string>) | null
Swift declaration
var affectedRecordIdentifiers: [String]? { get }

The record identifiers to which this error applies.

get · iOS 9.0+

keyPaths

TypeScript
get keyPaths(): (Array<string>) | null
Swift declaration
var keyPaths: [String]? { get }

The key paths associated with a given error. For validation errors this will contain key paths to specific object properties.

Skipped declarations

No declarations were skipped in this snapshot.

All Contacts types →