<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMSimpleQueue/Error",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Media",
      "CoreMedia"
    ],
    "preciseIdentifier" : "s:So16CMSimpleQueueRefa9CoreMediaE5ErrorV"
  },
  "title" : "CMSimpleQueue.Error"
}
-->

# CMSimpleQueue.Error

A structure that defines errors that queue operations can produce.

```
struct Error
```

## Topics

### Errors

[`static let allocationFailed: NSError`](/documentation/CoreMedia/CMSimpleQueue/Error/allocationFailed)

The system failed to allocate memory.

[`static let queueIsFull: NSError`](/documentation/CoreMedia/CMSimpleQueue/Error/queueIsFull)

An operation failed because the queue is full.

[`static let parameterOutOfRange: NSError`](/documentation/CoreMedia/CMSimpleQueue/Error/parameterOutOfRange)

You passed a parameter to a function that’s outside the range of allowed values.

[`static let requiredParameterMissing: NSError`](/documentation/CoreMedia/CMSimpleQueue/Error/requiredParameterMissing)

You failed to pass a required parameter to a function.

## Relationships

### Conforms To

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

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

---

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)