Class GPUInternalError
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The GPUInternalError interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} describes an application error indicating that an operation failed for a system or implementation-specific reason, even when all validation requirements were satisfied.
[Value("GPUInternalError")]
public class GPUInternalError : GPUError
- Inheritance
-
GPUInternalError
- Inherited Members
Remarks
It represents one of the types of errors surfaced by PopErrorScope() and the GPUDevice.Uncapturederror event.
Internal errors occur when something happens in the WebGPU implementation that wasn't caught by validation and wasn't clearly identifiable as an out-of-memory error. It generally means that an operation your code performed hit a system limit in a way that was difficult to express with WebGPU's supported limits. The same operation might succeed on a different device. These can only be raised by pipeline creation, usually if the shader is too complex for the device.
Constructors
GPUInternalError()
public GPUInternalError()
GPUInternalError(string)
The GPUInternalError() constructor creates a new
GPUInternalError object instance.
public GPUInternalError(string message)
Parameters
messagestring