<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "watchOS: 7.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/NIErrorDomain",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Nearby Interaction"
    ],
    "preciseIdentifier" : "c:@NIErrorDomain"
  },
  "title" : "NIErrorDomain"
}
-->

# NIErrorDomain

A unique error domain for Nearby Interaction.

```
let NIErrorDomain: String
```

## Discussion

For more information on Core Foundation error domains, see <doc://com.apple.documentation/documentation/CoreFoundation/error-domains>.

---

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)