GPUError: message property
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.
Themessage read-only property of theGPUError interface provides a human-readable message that explains why the error occurred.
In this article
Value
A string.
Examples
For usage examples of error objects based onGPUError, see:
Specifications
| Specification |
|---|
| WebGPU> # dom-gpuerror-message> |