GPUPipelineError

interface

interface GPUPipelineError extends DOMException

The GPUPipelineError interface of the WebGPU API describes a pipeline failure. Available only in secure contexts.

MDN Reference

variable

var GPUPipelineError: { … }

Constructors

constructor

new GPUPipelineError(message: string, options: GPUPipelineErrorInit): GPUPipelineError

Properties

reason

readonly reason: "validation" | "internal"

The reason read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.

MDN Reference

prototype

prototype: GPUPipelineError