---
title: error
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4commitfeedback/error
---

# error

A description of an error when the GPU encounters an issue as it runs the committed command buffers.

## Declaration

```swift
var error: (any Error)? { get }
```
