# GpuCapturedError

`import { GpuCapturedError } from "destack:gpu/binding";`

Captured device error snapshot.

```ds title="GpuCapturedError"
export struct GpuCapturedError {
    message: string;
    backendCode: int32;
}
```

[language/library/src/gpu/binding/device.ds:114:119](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/device.ds#L114-L119)

## Members

### `message: string`

Human-readable error message when one error was captured.

### `backendCode: int32`

Backend-specific status code when one error was captured.
