GPUError
interface
interface GPUErrorThe 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.
variable
var GPUError: { … }Constructors
constructor
new GPUError(): GPUErrorProperties
message
readonly message: stringThe 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.
prototype
prototype: GPUError