<!--
{
  "availability" : [
    "tvOS: 13.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVDocumentError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "s:SC15TVDocumentErrorLeV"
  },
  "title" : "TVDocumentError"
}
-->

# TVDocumentError

```
struct TVDocumentError
```

## Topics

### Accessing Error Data

[`static var errorDomain: String`](/documentation/TVMLKit/TVDocumentError-swift.struct/errorDomain)

### Error Types

[`static var cancelled: TVDocumentError.Code`](/documentation/TVMLKit/TVDocumentError-swift.struct/cancelled)

[`static var failed: TVDocumentError.Code`](/documentation/TVMLKit/TVDocumentError-swift.struct/failed)

[`enum Code`](/documentation/TVMLKit/TVDocumentError-swift.struct/Code)

## Relationships

### Conforms To

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

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

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

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

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

[`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)