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

# MTLCommandEncoderErrorState.pending

An error state that indicates the GPU didn’t execute the commands.

## Declaration

```swift
case pending
```

## See Also

### Getting the error state

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