iCloud Error Codes

Error codes to expect when an iCloud-related error occurs.

Overview

These codes are associated with the ubiquitousItemDownloadingErrorKey on an NSURL object when an iCloud-related error occurs.

Topics

General iCloud File Errors

var NSUbiquitousFileErrorMinimum: Int

The minimum error code value that represents an iCloud error.

var NSUbiquitousFileUnavailableError: Int

The item has not been uploaded to iCloud by another device yet.

var NSUbiquitousFileNotUploadedDueToQuotaError: Int

The item could not be uploaded to iCloud because it would make the account go over its quota.

var NSUbiquitousFileUbiquityServerNotAvailable: Int

A failure to connect to the iCloud servers.

var NSUbiquitousFileErrorMaximum: Int

The maximum error code value that represents an iCloud error.

iCloud Sharing Errors

var NSCloudSharingConflictError: Int

A conflict occurred during an attempt to save changes.

var NSCloudSharingErrorMaximum: Int

The end of the range of error codes reserved for cloud-sharing errors.

var NSCloudSharingErrorMinimum: Int

The start of the range of error codes reserved for cloud-sharing errors.

var NSCloudSharingNetworkFailureError: Int

Sharing failed due to a network failure.

var NSCloudSharingNoPermissionError: Int

The current user doesn’t have permission to perform the requested actions.

var NSCloudSharingOtherError: Int

An otherwise unspecified cloud-sharing error occurred.

var NSCloudSharingQuotaExceededError: Int

The user doesn’t have enough storage space available to share the requested items.

var NSCloudSharingTooManyParticipantsError: Int

Additional participants couldn’t be added to the share, because the limit was reached.