GPUError
WebGPU API
WebGPU API
The GPUError interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the uncapturederror event.
Instance properties
- 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