GPUUncapturedErrorEvent: error property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The error read-only property of the GPUUncapturedErrorEvent interface is a GPUError object instance providing access to the details of the error.

Value

A GPUError object instance.

Examples

See the main GPUUncapturedErrorEvent page for an example.

Specifications

Specification
WebGPU
# dom-gpuuncapturederroreventinit-error

Browser compatibility

BCD tables only load in the browser

See also