---
title: encoderExecutionStatus
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlcommandbuffererroroption/encoderexecutionstatus
---

# encoderExecutionStatus

An option that instructs a command buffer to save additional details about a GPU runtime error.

## Declaration

```swift
static var encoderExecutionStatus: MTLCommandBufferErrorOption { get }
```

## Discussion

Discussion You can set this option to a command buffer descriptor’s errorOptions property. note: Enabling this option can slightly reduce your app’s CPU runtime performance.
