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

# MTLCommandEncoderErrorState.completed

A state that indicates the GPU successfully executed the commands without any errors.

## Declaration

```swift
case completed
```

## See Also

### Getting the error state

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