Contents

partialFailure

An error that occurs when an operation completes with partial failures.

Declaration

static var partialFailure: CKError.Code { get }

Discussion

Examine the specific item failures, and act on the failed items. Each specific item error is from the CloudKit error domain. You can inspect the userInfo CKPartialErrorsByItemIDKey to see per-item errors.

Note that in a custom zone, the system processes all items in an operation atomically. As a result, you may get a CKError.Code.batchRequestFailed error for all other items in an operation that don’t cause an error.

See Also

Getting Error Codes