MDN self-hosted library · e01.org

GPUError

WebGPU API

no runnable cells web-api-interface upstream source

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:

Specifications

Browser compatibility

See also