<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DockKit",
  "identifier" : "/documentation/DockKit/DockKitError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "DockKit"
    ],
    "preciseIdentifier" : "s:7DockKit0aB5ErrorO"
  },
  "title" : "DockKitError"
}
-->

# DockKitError

A list of errors that DockKit sends.

```
enum DockKitError
```

## Topics

### Getting errors

[`case invalidParameter`](/documentation/DockKit/DockKitError/invalidParameter)

The supplied parameter is invalid.

[`case notConnected`](/documentation/DockKit/DockKitError/notConnected)

The dock accessory isn’t connected to a device.

[`case notSupported`](/documentation/DockKit/DockKitError/notSupported)

The method isn’t supported on a specific platform.

[`case notSupportedByDevice`](/documentation/DockKit/DockKitError/notSupportedByDevice)

The device doesn’t support the requested operation.

### Enumeration Cases

[`case cameraTCCMissing`](/documentation/DockKit/DockKitError/cameraTCCMissing)

The camera terms and conditions are missing.

[`case frameRateTooHigh`](/documentation/DockKit/DockKitError/frameRateTooHigh)

The call rate for the method is too frequent.

[`case frameRateTooLow`](/documentation/DockKit/DockKitError/frameRateTooLow)

The frame rate is too low to track an object.

[`case noSubjectFound`](/documentation/DockKit/DockKitError/noSubjectFound)

There is no subject in the video frame.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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