CKError.Code.alreadyShared
An error that occurs when CloudKit attempts to share a record with an existing share.
Declaration
case alreadySharedDiscussion
A record can exist in only a single share at a time. This error means that one of the following conditions exists:
The record already has an existing share.
The record has a parent, and its parent has a share.
The record is a parent, and one of its children has a share.
See Also
Error Codes
CKError.Code.accountTemporarilyUnavailableCKError.Code.assetFileModifiedCKError.Code.assetFileNotFoundCKError.Code.assetNotAvailableCKError.Code.badContainerCKError.Code.badDatabaseCKError.Code.batchRequestFailedCKError.Code.changeTokenExpiredCKError.Code.constraintViolationCKError.Code.incompatibleVersionCKError.Code.internalErrorCKError.Code.invalidArgumentsCKError.Code.limitExceededCKError.Code.managedAccountRestrictedCKError.Code.missingEntitlement