<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVKitError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "s:SC10AVKitErrorLeV"
  },
  "title" : "AVKitError"
}
-->

# AVKitError

A structure that represents a framework error.

```
struct AVKitError
```

## Topics

### Inspecting an Error

[`errorDomain`](/documentation/AVKit/AVKitError-swift.struct/errorDomain)

[`Code`](/documentation/AVKit/AVKitError-swift.struct/Code)

Constants that identify framework error codes.

[Error Constants](/documentation/AVKit/error-constants)

Error code constants for framework operations.

## Relationships

### Conforms To

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

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

[`CustomNSError`](/documentation/Foundation/CustomNSError)

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

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

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

---

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)