files/en-us/web/api/gpuerror/index.md
{{APIRef("WebGPU API")}}{{SecureContext_Header}}{{AvailableInWorkers}}
The GPUError interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is the base interface for errors surfaced by {{domxref("GPUDevice.popErrorScope")}} and the {{domxref("GPUDevice.uncapturederror_event", "uncapturederror")}} event.
{{InheritanceDiagram}}
For usage examples of error objects based on GPUError, see:
GPUDevice.popErrorScopeGPUDevice uncapturederror event{{Specifications}}
{{Compat}}