GPUPipelineError: reason property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
reason read-only property of the
GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
An enumerated value that can be one of:
Pipeline creation failed because of an internal error (see
GPUInternalErrorfor more information about these kinds of error.)
Pipeline creation failed because of a validation error (see
GPUValidationErrorfor more information about these kinds of error.)
See the main
GPUPipelineError page for an example involving a
GPUPipelineError object instance.
BCD tables only load in the browser
- The WebGPU API