<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/VideoReaderError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents16VideoReaderErrorO"
  },
  "title" : "VideoReaderError"
}
-->

# VideoReaderError

Video loader errors.

```
enum VideoReaderError
```

## Topics

### Analyzing the error

[`case cameraAuthorizationDenied`](/documentation/CreateMLComponents/VideoReaderError/cameraAuthorizationDenied)

An error that indicates that the camera authorization status is denied.
The user has explicitly denied permission for media capture.

[`case cameraAuthorizationRestricted`](/documentation/CreateMLComponents/VideoReaderError/cameraAuthorizationRestricted)

An error that indicates that the camera authorization status is restricted.
The user is not allowed to access media capture devices.

[`case frameRateNotSupported(Double)`](/documentation/CreateMLComponents/VideoReaderError/frameRateNotSupported(_:))

An error that indicates that the frame rate is not supported by the input camera.

[`case missingVideoTrack(URL)`](/documentation/CreateMLComponents/VideoReaderError/missingVideoTrack(_:))

An error that indicates that the VideoReader cannot find a video track.

[`case sourceCameraNotAvailable`](/documentation/CreateMLComponents/VideoReaderError/sourceCameraNotAvailable)

An error that indicates that no cameras are available.

[`case captureSessionStopped`](/documentation/CreateMLComponents/VideoReaderError/captureSessionStopped)

An error that indicates that the capture session stopped.

### Getting the debug description

[`var debugDescription: String`](/documentation/CreateMLComponents/VideoReaderError/debugDescription)

A text representation of the error.

### Default Implementations

[CustomDebugStringConvertible Implementations](/documentation/CreateMLComponents/VideoReaderError/CustomDebugStringConvertible-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)