<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSCloudSharingOtherError-swift.var",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So24NSCloudSharingOtherErrorSivp"
  },
  "title" : "NSCloudSharingOtherError"
}
-->

# NSCloudSharingOtherError

An otherwise unspecified cloud-sharing error occurred.

```
var NSCloudSharingOtherError: Int { get }
```

## Discussion

For CloudKit sharing, use the [`NSUnderlyingErrorKey`](/documentation/Foundation/NSUnderlyingErrorKey), whose value is a <doc://com.apple.documentation/documentation/CloudKit/CKErrorDomain> error, to discover the specific error. Refer to the <doc://com.apple.documentation/documentation/CloudKit> documentation for the proper response to these errors.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)