returnNSLocalizedString("Already Shared: a record or share cannot be saved because doing so would cause the same hierarchy of records to exist in multiple shares.",comment:"Known iCloud Error")
case.assetFileModified:
returnNSLocalizedString("Asset File Modified: the content of the specified asset file was modified while being saved.",comment:"Known iCloud Error")
case.assetFileNotFound:
returnNSLocalizedString("Asset File Not Found: the specified asset file is not found.",comment:"Known iCloud Error")
case.badContainer:
returnNSLocalizedString("Bad Container: the specified container is unknown or unauthorized.",comment:"Known iCloud Error")
case.badDatabase:
returnNSLocalizedString("Bad Database: the operation could not be completed on the given database.",comment:"Known iCloud Error")
case.batchRequestFailed:
returnNSLocalizedString("Batch Request Failed: the entire batch was rejected.",comment:"Known iCloud Error")
case.changeTokenExpired:
returnNSLocalizedString("Change Token Expired: the previous server change token is too old.",comment:"Known iCloud Error")
case.constraintViolation:
returnNSLocalizedString("Constraint Violation: the server rejected the request because of a conflict with a unique field.",comment:"Known iCloud Error")
case.incompatibleVersion:
returnNSLocalizedString("Incompatible Version: your app version is older than the oldest version allowed.",comment:"Known iCloud Error")
case.internalError:
returnNSLocalizedString("Internal Error: a nonrecoverable error was encountered by CloudKit.",comment:"Known iCloud Error")
case.invalidArguments:
returnNSLocalizedString("Invalid Arguments: the specified request contains bad information.",comment:"Known iCloud Error")
case.limitExceeded:
returnNSLocalizedString("Limit Exceeded: the request to the server is too large.",comment:"Known iCloud Error")
case.managedAccountRestricted:
returnNSLocalizedString("Managed Account Restricted: the request was rejected due to a managed-account restriction.",comment:"Known iCloud Error")
case.missingEntitlement:
returnNSLocalizedString("Missing Entitlement: the app is missing a required entitlement.",comment:"Known iCloud Error")
case.networkUnavailable:
returnNSLocalizedString("Network Unavailable: the internet connection appears to be offline.",comment:"Known iCloud Error")
case.networkFailure:
returnNSLocalizedString("Network Failure: the internet connection appears to be offline.",comment:"Known iCloud Error")
case.notAuthenticated:
returnNSLocalizedString("Not Authenticated: to use this app, you must enable iCloud syncing. Go to device Settings, sign in to iCloud, then in the app settings, be sure the iCloud feature is enabled.",comment:"Known iCloud Error")
case.operationCancelled:
returnNSLocalizedString("Operation Cancelled: the operation was explicitly canceled.",comment:"Known iCloud Error")
case.partialFailure:
returnNSLocalizedString("Partial Failure: some items failed, but the operation succeeded overall.",comment:"Known iCloud Error")
case.participantMayNeedVerification:
returnNSLocalizedString("Participant May Need Verification: you are not a member of the share.",comment:"Known iCloud Error")
case.permissionFailure:
returnNSLocalizedString("Permission Failure: to use this app, you must enable iCloud syncing. Go to device Settings, sign in to iCloud, then in the app settings, be sure the iCloud feature is enabled.",comment:"Known iCloud Error")
case.quotaExceeded:
returnNSLocalizedString("Quota Exceeded: saving would exceed your current iCloud storage quota.",comment:"Known iCloud Error")
case.referenceViolation:
returnNSLocalizedString("Reference Violation: the target of a record's parent or share reference was not found.",comment:"Known iCloud Error")
case.requestRateLimited:
returnNSLocalizedString("Request Rate Limited: transfers to and from the server are being rate limited at this time.",comment:"Known iCloud Error")
case.serverRecordChanged:
returnNSLocalizedString("Server Record Changed: the record was rejected because the version on the server is different.",comment:"Known iCloud Error")
returnNSLocalizedString("Too Many Participants: a share cannot be saved because too many participants are attached to the share.",comment:"Known iCloud Error")
case.unknownItem:
returnNSLocalizedString("Unknown Item: the specified record does not exist.",comment:"Known iCloud Error")
case.userDeletedZone:
returnNSLocalizedString("User Deleted Zone: the user has deleted this zone from the settings UI.",comment:"Known iCloud Error")
case.zoneBusy:
returnNSLocalizedString("Zone Busy: the server is too busy to handle the zone operation.",comment:"Known iCloud Error")
case.zoneNotFound:
returnNSLocalizedString("Zone Not Found: the specified record zone does not exist on the server.",comment:"Known iCloud Error")