CKRecordChangedErrorAncestorRecordKey

Static CKRecordChangedErrorAncestorRecordKey 

Source
pub unsafe static CKRecordChangedErrorAncestorRecordKey: &'static NSString
Available on crate feature CKError only.
Expand description

If the server rejects a record save because it has been modified since the last time it was read, a CKErrorServerRecordChangedwill be returned. The error’s userInfodictionary will contain a CKRecordkeyed by CKRecordChangedErrorAncestorRecordKey.This is the original record used as a basis for making your changes.

Note that if you had attempted to save a new CKRecordinstance, this record may not have any key / value pairs set on it, as there was no CKRecordinstance that represents an ancestor point.

See also Apple’s documentation