Firefox Tomorrow

web api interface

GPUError

View on MDN ↗

Secure contextAvailable in workers

The GPUError interface of the WebGPU API is the base interface for errors surfaced by popErrorScope and the uncapturederror event.

Instance properties

  • message Read only
    • : 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also