Skip to main content

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

Properties

message

readonly message: string;

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

MDN Reference