---
title: TVDocumentError.Code
framework: TVMLKit
role: symbol
role_heading: Enumeration
platforms: [tvOS 13.0+]
path: tvmlkit/tvdocumenterror-swift.struct/code
---

# TVDocumentError.Code

## Declaration

```swift
enum Code
```

## Topics

### Enumeration Cases

- [TVDocumentError.Code.cancelled](tvmlkit/tvdocumenterror-swift.struct/code/cancelled.md)
- [TVDocumentError.Code.failed](tvmlkit/tvdocumenterror-swift.struct/code/failed.md)

### Initializers

- [init(rawValue:)](tvmlkit/tvdocumenterror-swift.struct/code/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Error Types

- [cancelled](tvmlkit/tvdocumenterror-swift.struct/cancelled.md)
- [failed](tvmlkit/tvdocumenterror-swift.struct/failed.md)
