---
title: MTL4CommandQueueError
framework: metal
role: symbol
role_heading: Structure
path: metal/mtl4commandqueueerror-swift.struct
---

# MTL4CommandQueueError

## Declaration

```swift
struct MTL4CommandQueueError
```

## Topics

### Type Properties

- [accessRevoked](metal/mtl4commandqueueerror-swift.struct/accessrevoked.md)
- [deviceRemoved](metal/mtl4commandqueueerror-swift.struct/deviceremoved.md)
- [errorDomain](metal/mtl4commandqueueerror-swift.struct/errordomain.md)
- [internal](metal/mtl4commandqueueerror-swift.struct/internal.md)
- [none](metal/mtl4commandqueueerror-swift.struct/none.md)
- [notPermitted](metal/mtl4commandqueueerror-swift.struct/notpermitted.md)
- [outOfMemory](metal/mtl4commandqueueerror-swift.struct/outofmemory.md)
- [timeout](metal/mtl4commandqueueerror-swift.struct/timeout.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Submitting work to a GPU with Metal 4

- [MTL4CommandQueue](metal/mtl4commandqueue.md)
- [MTL4CommandQueueDescriptor](metal/mtl4commandqueuedescriptor.md)
- [MTL4CommandQueueError.Code](metal/mtl4commandqueueerror-swift.struct/code.md)
- [MTL4CommandQueueErrorDomain](metal/mtl4commandqueueerrordomain.md)
- [MTL4CommandBuffer](metal/mtl4commandbuffer.md)
- [MTL4CommandBufferOptions](metal/mtl4commandbufferoptions.md)
- [MTL4CommandEncoder](metal/mtl4commandencoder.md)
- [MTL4RenderEncoderOptions](metal/mtl4renderencoderoptions.md)
- [MTL4ArgumentTable](metal/mtl4argumenttable.md)
- [MTL4ArgumentTableDescriptor](metal/mtl4argumenttabledescriptor.md)
- [MTL4CommandAllocator](metal/mtl4commandallocator.md)
- [MTL4CommandAllocatorDescriptor](metal/mtl4commandallocatordescriptor.md)
- [MTL4CommitOptions](metal/mtl4commitoptions.md)
- [MTL4CommitFeedback](metal/mtl4commitfeedback.md)
- [MTL4CommitFeedbackHandler](metal/mtl4commitfeedbackhandler.md)
