<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTFrameProcessorError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "s:SC21VTFrameProcessorErrorLeV"
  },
  "title" : "VTFrameProcessorError"
}
-->

# VTFrameProcessorError

Error codes generated by a frame processor.

```
struct VTFrameProcessorError
```

## Topics

### Error domain

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

The error domain of Video Toolbox errors.

[`let VTFrameProcessorErrorDomain: String`](/documentation/VideoToolbox/VTFrameProcessorErrorDomain)

The error domain of Video Toolbox errors.

### Error information

[`var code: Self.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/code-swift.property)

[`var errorCode: Int`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/errorCode)

[`var errorUserInfo: [String : Any]`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/errorUserInfo)

[`var userInfo: [String : Any]`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/userInfo)

The user-info dictionary for an error that was bridged from
NSError.

### Errors

[`static var assetDownloadFailed: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/assetDownloadFailed)

[`static var fatalError: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/fatalError)

A fatal error occurred during processing.

[`static var initializationFailed: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/initializationFailed)

The session failed to initialize the processing pipeline.

[`static var invalidFrameTiming: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/invalidFrameTiming)

A provided frame object has a presentation time stamp which isn’t supported by the processor.

[`static var invalidParameterError: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/invalidParameterError)

A provided parameter isn’t valid.

[`static var memoryAllocationFailure: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/memoryAllocationFailure)

The session or processor is unable to allocate the required memory.

[`static var processingError: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/processingError)

The processor encountered an issue that prevents it from processing the provided frame.

[`static var revisionNotSupported: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/revisionNotSupported)

The specified revision isn’t supported by the configured processor.

[`static var sessionAlreadyActive: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/sessionAlreadyActive)

An attempt is made to start a session that is already started.

[`static var sessionLevelError: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/sessionLevelError)

The processing failed and current session should be stopped.

[`static var sessionNotStarted: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/sessionNotStarted)

The session is used to process frames without being started.

[`static var unknownError: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/unknownError)

The processor failed for an unknown reason.

[`static var unsupportedInput: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/unsupportedInput)

One or more frames is in a format which isn’t supported by the processor.

[`static var unsupportedResolution: VTFrameProcessorError.Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/unsupportedResolution)

The processor failed due to an unsupported resolution.

### Enumerations

[`enum Code`](/documentation/VideoToolbox/VTFrameProcessorError-swift.struct/Code)

Error codes generated by a frame processor.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)