Table of Contents

Class GPUUncapturedErrorEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The GPUUncapturedErrorEvent interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is the event object type for the GPUDevice GPUDevice.Uncapturederror event, used for telemetry and to report unexpected errors.

[Value("GPUUncapturedErrorEvent")]
public class GPUUncapturedErrorEvent : Event
Inheritance
GPUUncapturedErrorEvent
Inherited Members

Remarks

Constructors

GPUUncapturedErrorEvent()

public GPUUncapturedErrorEvent()

GPUUncapturedErrorEvent(string, GPUUncapturedErrorEventInit)

The GPUUncapturedErrorEvent() constructor creates a new
GPUUncapturedErrorEvent object instance.

public GPUUncapturedErrorEvent(string type, GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict)

Parameters

type string
gpuUncapturedErrorEventInitDict GPUUncapturedErrorEventInit

Remarks

Properties

Error

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

[Value("error")]
public GPUError Error { get; }

Property Value

GPUError

A GPUError object instance.

Remarks