CloudKitSynchronizer.SyncError
SyncError
@objc public enum SyncError: Int, Error
#
InheritanceError
, Int
#
Enumeration CasesalreadySyncing
#
case alreadySyncing = 0
- Received when synchronize is called while there was an ongoing synchronization.
higherModelVersionFound
#
case higherModelVersionFound = 1
- A synchronizer with a higer
compatibilityVersion
value uploaded changes to CloudKit, so those changes won't be imported here. - This error can be detected to prompt the user to update the app to a newer version.
recordNotFound
#
case recordNotFound = 2
- A record fot the provided object was not found, so the object cannot be shared on CloudKit.
cancelled
#
case cancelled = 3
- Synchronization was manually cancelled.