public final class CKErrorCode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
AccountTemporarilyUnavailable
The current account is in a state that may need user intervention to recover from.
|
static long |
AlreadyShared
A record/share cannot be saved, doing so would cause a hierarchy of records to exist in multiple shares
|
static long |
AssetFileModified
Asset file content was modified while being saved
|
static long |
AssetFileNotFound
Asset file was not found
|
static long |
AssetNotAvailable
The file for this asset could not be accessed.
|
static long |
BadContainer
Un-provisioned or unauthorized container.
|
static long |
BadDatabase
Operation could not be completed on the given database.
|
static long |
BatchRequestFailed
One of the items in this batch operation failed in a zone with atomic updates, so the entire batch was rejected.
|
static long |
ChangeTokenExpired
The previousServerChangeToken value is too old and the client must re-sync from scratch
|
static long |
ConstraintViolation
The server rejected the request because there was a conflict with a unique field.
|
static long |
IncompatibleVersion
App version is less than the minimum allowed version
|
static long |
InternalError
CloudKit.framework encountered an error.
|
static long |
InvalidArguments
Bad client request (bad record graph, malformed predicate)
|
static long |
LimitExceeded
The request to the server was too large.
|
static long |
ManagedAccountRestricted
Request was rejected due to a managed account restriction
|
static long |
MissingEntitlement
Missing entitlement
|
static long |
NetworkFailure
Network error (available but CFNetwork gave us an error)
|
static long |
NetworkUnavailable
Network not available
|
static long |
NotAuthenticated
Not authenticated (writing without being logged in, no user record)
|
static long |
OperationCancelled
A CKOperation was explicitly cancelled
|
static long |
PartialFailure
Some items failed, but the operation succeeded overall.
|
static long |
ParticipantMayNeedVerification
Share Metadata cannot be determined, because the user is not a member of the share.
|
static long |
PermissionFailure
Access failure (save, fetch, or shareAccept)
|
static long |
QuotaExceeded
Saving a record would exceed quota
|
static long |
ReferenceViolation
The target of a record's parent or share reference was not found
|
static long |
RequestRateLimited
Client is being rate limited
|
static long |
ResultsTruncated
Bad client request (bad record graph, malformed predicate)
|
static long |
ServerRecordChanged
The record was rejected because the version on the server was different
|
static long |
ServerRejectedRequest
The server rejected this request.
|
static long |
ServerResponseLost
The server received and processed this request, but the response was lost due to a network failure.
|
static long |
ServiceUnavailable
Service unavailable
|
static long |
TooManyParticipants
A share cannot be saved because there are too many participants attached to the share
|
static long |
UnknownItem
Record does not exist
|
static long |
UserDeletedZone
The user deleted this zone through the settings UI.
|
static long |
ZoneBusy
The server is too busy to handle this zone operation.
|
static long |
ZoneNotFound
The specified zone does not exist on the server
|
public static final long InternalError
public static final long PartialFailure
public static final long NetworkUnavailable
public static final long NetworkFailure
public static final long BadContainer
public static final long ServiceUnavailable
public static final long RequestRateLimited
public static final long MissingEntitlement
public static final long NotAuthenticated
public static final long PermissionFailure
public static final long UnknownItem
public static final long InvalidArguments
public static final long ResultsTruncated
public static final long ServerRecordChanged
public static final long ServerRejectedRequest
public static final long AssetFileNotFound
public static final long AssetFileModified
public static final long IncompatibleVersion
public static final long ConstraintViolation
public static final long OperationCancelled
public static final long ChangeTokenExpired
public static final long BatchRequestFailed
public static final long ZoneBusy
public static final long BadDatabase
public static final long QuotaExceeded
public static final long ZoneNotFound
public static final long LimitExceeded
public static final long UserDeletedZone
public static final long TooManyParticipants
public static final long AlreadyShared
public static final long ReferenceViolation
public static final long ManagedAccountRestricted
public static final long ParticipantMayNeedVerification
public static final long ServerResponseLost
public static final long AssetNotAvailable
public static final long AccountTemporarilyUnavailable