Enumeration Case CKError .Code .operation Cancelled
An error indicating that an operation was explicitly canceled.
iOS 8.0+ macOS 10.10+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 3.0+ Declaration case operationCancelled = 20
Either your app explicitly called
, or CloudKit's daemon unexpectedly quit. cancel() See Also Error Codes case already Shared
An error indicating that a record or share cannot be saved because doing so would cause the same hierarchy of records to exist in multiple shares.
case asset File Modified
An error indicating that the content of the specified asset file was modified while being saved.
case bad Container
An error that is returned when the specified container is unknown or unauthorized.
case bad Database
An error indicating that the operation could not be completed on the given database.
case constraint Violation
An error indicating that the server rejected the request because of a conflict with a unique field.
case network Failure
An error that is returned when the network is available but cannot be accessed.
case not Authenticated
An error indicating that the current user is not authenticated, and no user record was available.
case partial Failure
An error indicating that some items failed, but the operation succeeded overall.
case permission Failure
An error indicating that the user did not have permission to perform the specified save or fetch operation.
case quota Exceeded
An error that is returned when saving the record would exceed the user’s current storage quota.
case reference Violation
An error that is returned when the target of a record's parent or share reference is not found.
case server Record Changed
An error indicating that the record was rejected because the version on the server is different.
case too Many Participants
An error indicating that a share cannot be saved because too many participants are attached to the share.
case unknown Item
An error that is returned when the specified record does not exist.
case zone Busy
An error indicating that the server is too busy to handle the zone operation.
case zone Not Found
An error indicating that the specified record zone does not exist on the server.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software