GPUError

interface

interface GPUError

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

MDN Reference

variable

var GPUError: { … }

Constructors

constructor

new GPUError(): GPUError

Properties

message

readonly message: string

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

MDN Reference

prototype

prototype: GPUError