---
title: "GPUError | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

# Interface GPUError

The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the uncapturederror event. Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)

interface GPUError {  
    [message](#message): string;  
}

##### Index

### Properties[](#properties)

[message](#message)

## Properties[](#properties-1)

### `Readonly`message[](#message)

message: string

The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
