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
Known error cases should be handled using PushErrorScope(GPUErrorFilter) and PopErrorScope().
Constructors
GPUUncapturedErrorEvent()
public GPUUncapturedErrorEvent()
GPUUncapturedErrorEvent(string, GPUUncapturedErrorEventInit)
The GPUUncapturedErrorEvent() constructor creates a new
GPUUncapturedErrorEvent object instance.
public GPUUncapturedErrorEvent(string type, GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict)
Parameters
typestringgpuUncapturedErrorEventInitDictGPUUncapturedErrorEventInit
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; }