WebGPU API
The message read-only property of the
GPUError interface provides a human-readable message that explains why the error occurred.
Value
A string.
Examples
For usage examples of error objects based on GPUError, see:
GPUDevice.popErrorScope- The
GPUDevice uncapturederrorevent - GPUInternalError, GPUOutOfMemoryError, and GPUValidationError
Specifications
Browser compatibility
See also
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
