<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SharedWithYou",
  "identifier" : "/documentation/SharedWithYou/SWHighlightCenterErrorCode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Shared with You"
    ],
    "preciseIdentifier" : "c:@E@SWHighlightCenterErrorCode"
  },
  "title" : "SWHighlightCenterErrorCode"
}
-->

# SWHighlightCenterErrorCode

The error codes for the highlight center.

```
enum SWHighlightCenterErrorCode
```

## Topics

### Highlight center errors

[`case noError`](/documentation/SharedWithYou/SWHighlightCenterErrorCode/noError)

Reports no error.

[`case internalError`](/documentation/SharedWithYou/SWHighlightCenterErrorCode/internalError)

Reports an internal error.

[`case invalidURL`](/documentation/SharedWithYou/SWHighlightCenterErrorCode/invalidURL)

Reports an invalid URL error.

[`case accessDenied`](/documentation/SharedWithYou/SWHighlightCenterErrorCode/accessDenied)

Reports and access denied error.

### Initializers

[`init?(rawValue: Int)`](/documentation/SharedWithYou/SWHighlightCenterErrorCode/init(rawValue:))

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

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)