WebGPU API
The GPUError interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event.
Instance properties
- GPUError.message
- : A string providing a human-readable message that explains why the error occurred.
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。离线整理了版式、链接和媒体显示。
