---
title: VTFrameProcessorError.Code
framework: Video Toolbox
role: symbol
role_heading: Enumeration
platforms: [iOS 6.0+, iPadOS 6.0+, Mac Catalyst 13.0+, macOS 10.8+, tvOS 10.2+, visionOS 1.0+]
path: videotoolbox/vtframeprocessorerror-swift.struct/code
---

# VTFrameProcessorError.Code

Error codes generated by a frame processor.

## Declaration

```swift
enum Code
```

## Topics

### Enumeration Cases

- [VTFrameProcessorError.Code.fatalError](videotoolbox/vtframeprocessorerror-swift.struct/code/fatalerror.md)
- [VTFrameProcessorError.Code.initializationFailed](videotoolbox/vtframeprocessorerror-swift.struct/code/initializationfailed.md)
- [VTFrameProcessorError.Code.invalidFrameTiming](videotoolbox/vtframeprocessorerror-swift.struct/code/invalidframetiming.md)
- [VTFrameProcessorError.Code.invalidParameterError](videotoolbox/vtframeprocessorerror-swift.struct/code/invalidparametererror.md)
- [VTFrameProcessorError.Code.memoryAllocationFailure](videotoolbox/vtframeprocessorerror-swift.struct/code/memoryallocationfailure.md)
- [VTFrameProcessorError.Code.processingError](videotoolbox/vtframeprocessorerror-swift.struct/code/processingerror.md)
- [VTFrameProcessorError.Code.revisionNotSupported](videotoolbox/vtframeprocessorerror-swift.struct/code/revisionnotsupported.md)
- [VTFrameProcessorError.Code.sessionAlreadyActive](videotoolbox/vtframeprocessorerror-swift.struct/code/sessionalreadyactive.md)
- [VTFrameProcessorError.Code.sessionLevelError](videotoolbox/vtframeprocessorerror-swift.struct/code/sessionlevelerror.md)
- [VTFrameProcessorError.Code.sessionNotStarted](videotoolbox/vtframeprocessorerror-swift.struct/code/sessionnotstarted.md)
- [VTFrameProcessorError.Code.unknownError](videotoolbox/vtframeprocessorerror-swift.struct/code/unknownerror.md)
- [VTFrameProcessorError.Code.unsupportedInput](videotoolbox/vtframeprocessorerror-swift.struct/code/unsupportedinput.md)
- [VTFrameProcessorError.Code.unsupportedResolution](videotoolbox/vtframeprocessorerror-swift.struct/code/unsupportedresolution.md)
- [VTFrameProcessorError.Code.assetDownloadFailed](videotoolbox/vtframeprocessorerror-swift.struct/code/assetdownloadfailed.md)

### Initializers

- [init(rawValue:)](videotoolbox/vtframeprocessorerror-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)
