---
title: MTLCommandEncoderErrorState.unknown
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcommandencodererrorstate/unknown
---

# MTLCommandEncoderErrorState.unknown

An error state that indicates the command buffer doesn’t know the state of its commands on the GPU.

## Declaration

```swift
case unknown
```

## See Also

### Getting the error state

- [MTLCommandEncoderErrorState.completed](metal/mtlcommandencodererrorstate/completed.md)
- [MTLCommandEncoderErrorState.pending](metal/mtlcommandencodererrorstate/pending.md)
- [MTLCommandEncoderErrorState.affected](metal/mtlcommandencodererrorstate/affected.md)
- [MTLCommandEncoderErrorState.faulted](metal/mtlcommandencodererrorstate/faulted.md)
