Package apple.cloudkit.enums
Class CKErrorCode
- java.lang.Object
-
- apple.cloudkit.enums.CKErrorCode
-
public final class CKErrorCode extends java.lang.ObjectAPI-Since: 8.0
-
-
Field Summary
Fields Modifier and Type Field Description static longAccountTemporarilyUnavailableThe current account is in a state that may need user intervention to recover from.static longAlreadySharedA record/share cannot be saved, doing so would cause a hierarchy of records to exist in multiple shares API-Since: 10.0static longAssetFileModifiedAsset file content was modified while being saved API-Since: 8.0static longAssetFileNotFoundAsset file was not found API-Since: 8.0static longAssetNotAvailableThe file for this asset could not be accessed.static longBadContainerUn-provisioned or unauthorized container.static longBadDatabaseOperation could not be completed on the given database.static longBatchRequestFailedOne of the items in this batch operation failed in a zone with atomic updates, so the entire batch was rejected.static longChangeTokenExpiredThe previousServerChangeToken value is too old and the client must re-sync from scratch API-Since: 8.0static longConstraintViolationThe server rejected the request because there was a conflict with a unique field.static longIncompatibleVersionApp version is less than the minimum allowed version API-Since: 8.0static longInternalErrorCloudKit.framework encountered an error.static longInvalidArgumentsBad client request (bad record graph, malformed predicate) API-Since: 8.0static longLimitExceededThe request to the server was too large.static longManagedAccountRestrictedRequest was rejected due to a managed account restriction API-Since: 10.0static longMissingEntitlementMissing entitlement API-Since: 8.0static longNetworkFailureNetwork error (available but CFNetwork gave us an error) API-Since: 8.0static longNetworkUnavailableNetwork not available API-Since: 8.0static longNotAuthenticatedNot authenticated (writing without being logged in, no user record) API-Since: 8.0static longOperationCancelledA CKOperation was explicitly cancelled API-Since: 8.0static longPartialFailureSome items failed, but the operation succeeded overall.static longParticipantMayNeedVerificationShare Metadata cannot be determined, because the user is not a member of the share.static longPermissionFailureAccess failure (save, fetch, or shareAccept) API-Since: 8.0static longQuotaExceededSaving a record would exceed quota API-Since: 8.0static longReferenceViolationThe target of a record's parent or share reference was not found API-Since: 10.0static longRequestRateLimitedClient is being rate limited API-Since: 8.0static longResultsTruncatedDeprecated.static longServerRecordChangedThe record was rejected because the version on the server was different API-Since: 8.0static longServerRejectedRequestThe server rejected this request.static longServerResponseLostThe server received and processed this request, but the response was lost due to a network failure.static longServiceUnavailableService unavailable API-Since: 8.0static longTooManyParticipantsA share cannot be saved because there are too many participants attached to the share API-Since: 10.0static longUnknownItemRecord does not exist API-Since: 8.0static longUserDeletedZoneThe user deleted this zone through the settings UI.static longZoneBusyThe server is too busy to handle this zone operation.static longZoneNotFoundThe specified zone does not exist on the server API-Since: 8.0
-
-
-
Field Detail
-
InternalError
public static final long InternalError
CloudKit.framework encountered an error. This is a non-recoverable error. API-Since: 8.0- See Also:
- Constant Field Values
-
PartialFailure
public static final long PartialFailure
Some items failed, but the operation succeeded overall. Check CKPartialErrorsByItemIDKey in the userInfo dictionary for more details. This error is only returned from CKOperation completion blocks, which are deprecated in swift. It will not be returned from (swift-only) CKOperation result blocks, which are their replacements API-Since: 8.0- See Also:
- Constant Field Values
-
NetworkUnavailable
public static final long NetworkUnavailable
Network not available API-Since: 8.0- See Also:
- Constant Field Values
-
NetworkFailure
public static final long NetworkFailure
Network error (available but CFNetwork gave us an error) API-Since: 8.0- See Also:
- Constant Field Values
-
BadContainer
public static final long BadContainer
Un-provisioned or unauthorized container. Try provisioning the container before retrying the operation. API-Since: 8.0- See Also:
- Constant Field Values
-
ServiceUnavailable
public static final long ServiceUnavailable
Service unavailable API-Since: 8.0- See Also:
- Constant Field Values
-
RequestRateLimited
public static final long RequestRateLimited
Client is being rate limited API-Since: 8.0- See Also:
- Constant Field Values
-
MissingEntitlement
public static final long MissingEntitlement
Missing entitlement API-Since: 8.0- See Also:
- Constant Field Values
-
NotAuthenticated
public static final long NotAuthenticated
Not authenticated (writing without being logged in, no user record) API-Since: 8.0- See Also:
- Constant Field Values
-
PermissionFailure
public static final long PermissionFailure
Access failure (save, fetch, or shareAccept) API-Since: 8.0- See Also:
- Constant Field Values
-
UnknownItem
public static final long UnknownItem
Record does not exist API-Since: 8.0- See Also:
- Constant Field Values
-
InvalidArguments
public static final long InvalidArguments
Bad client request (bad record graph, malformed predicate) API-Since: 8.0- See Also:
- Constant Field Values
-
ResultsTruncated
@Deprecated public static final long ResultsTruncated
Deprecated.Bad client request (bad record graph, malformed predicate) API-Since: 8.0 Deprecated-Since: 10.0 Deprecated-Message: Will not be returned- See Also:
- Constant Field Values
-
ServerRecordChanged
public static final long ServerRecordChanged
The record was rejected because the version on the server was different API-Since: 8.0- See Also:
- Constant Field Values
-
ServerRejectedRequest
public static final long ServerRejectedRequest
The server rejected this request. This is a non-recoverable error API-Since: 8.0- See Also:
- Constant Field Values
-
AssetFileNotFound
public static final long AssetFileNotFound
Asset file was not found API-Since: 8.0- See Also:
- Constant Field Values
-
AssetFileModified
public static final long AssetFileModified
Asset file content was modified while being saved API-Since: 8.0- See Also:
- Constant Field Values
-
IncompatibleVersion
public static final long IncompatibleVersion
App version is less than the minimum allowed version API-Since: 8.0- See Also:
- Constant Field Values
-
ConstraintViolation
public static final long ConstraintViolation
The server rejected the request because there was a conflict with a unique field. API-Since: 8.0- See Also:
- Constant Field Values
-
OperationCancelled
public static final long OperationCancelled
A CKOperation was explicitly cancelled API-Since: 8.0- See Also:
- Constant Field Values
-
ChangeTokenExpired
public static final long ChangeTokenExpired
The previousServerChangeToken value is too old and the client must re-sync from scratch API-Since: 8.0- See Also:
- Constant Field Values
-
BatchRequestFailed
public static final long BatchRequestFailed
One of the items in this batch operation failed in a zone with atomic updates, so the entire batch was rejected. API-Since: 8.0- See Also:
- Constant Field Values
-
ZoneBusy
public static final long ZoneBusy
The server is too busy to handle this zone operation. Try the operation again in a few seconds. API-Since: 8.0- See Also:
- Constant Field Values
-
BadDatabase
public static final long BadDatabase
Operation could not be completed on the given database. Likely caused by attempting to modify zones in the public database. API-Since: 8.0- See Also:
- Constant Field Values
-
QuotaExceeded
public static final long QuotaExceeded
Saving a record would exceed quota API-Since: 8.0- See Also:
- Constant Field Values
-
ZoneNotFound
public static final long ZoneNotFound
The specified zone does not exist on the server API-Since: 8.0- See Also:
- Constant Field Values
-
LimitExceeded
public static final long LimitExceeded
The request to the server was too large. Retry this request as a smaller batch. API-Since: 8.0- See Also:
- Constant Field Values
-
UserDeletedZone
public static final long UserDeletedZone
The user deleted this zone through the settings UI. Your client should either remove its local data or prompt the user before attempting to re-upload any data to this zone. API-Since: 8.0- See Also:
- Constant Field Values
-
TooManyParticipants
public static final long TooManyParticipants
A share cannot be saved because there are too many participants attached to the share API-Since: 10.0- See Also:
- Constant Field Values
-
AlreadyShared
public static final long AlreadyShared
A record/share cannot be saved, doing so would cause a hierarchy of records to exist in multiple shares API-Since: 10.0- See Also:
- Constant Field Values
-
ReferenceViolation
public static final long ReferenceViolation
The target of a record's parent or share reference was not found API-Since: 10.0- See Also:
- Constant Field Values
-
ManagedAccountRestricted
public static final long ManagedAccountRestricted
Request was rejected due to a managed account restriction API-Since: 10.0- See Also:
- Constant Field Values
-
ParticipantMayNeedVerification
public static final long ParticipantMayNeedVerification
Share Metadata cannot be determined, because the user is not a member of the share. There are invited participants on the share with email addresses or phone numbers not associated with any iCloud account. The user may be able to join the share if they can associate one of those email addresses or phone numbers with their iCloud account via the system Share Accept UI. Call UIApplication's openURL on this share URL to have the user attempt to verify their information. API-Since: 10.0- See Also:
- Constant Field Values
-
ServerResponseLost
public static final long ServerResponseLost
The server received and processed this request, but the response was lost due to a network failure. There is no guarantee that this request succeeded. Your client should re-issue the request (if it is idempotent), or fetch data from the server to determine if the request succeeded. API-Since: 11.0- See Also:
- Constant Field Values
-
AssetNotAvailable
public static final long AssetNotAvailable
The file for this asset could not be accessed. It is likely your application does not have permission to open the file, or the file may be temporarily unavailable due to its data protection class. This operation can be retried after it is able to be opened in your process. API-Since: 11.3- See Also:
- Constant Field Values
-
AccountTemporarilyUnavailable
public static final long AccountTemporarilyUnavailable
The current account is in a state that may need user intervention to recover from. The user should be directed to check the Settings app. Listen for CKAccountChangedNotifications to know when to re-check account status and retry. API-Since: 15.0- See Also:
- Constant Field Values
-
-