GPUError
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Note: This feature is available inWeb Workers.
TheGPUError interface of theWebGPU API is the base interface for errors surfaced byGPUDevice.popErrorScope and theuncapturederror event.
In this article
Instance properties
messageRead onlyA string providing a human-readable message that explains why the error occurred.
Examples
For usage examples of error objects based onGPUError, see:
Specifications
| Specification |
|---|
| WebGPU> # gpuerror> |