Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. GPUValidationError
  4. GPUValidationError()

GPUValidationError: GPUValidationError() constructor

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Note: This feature is available inWeb Workers.

TheGPUValidationError() constructor creates a newGPUValidationError object instance.

Syntax

js
new GPUValidationError(message)

Parameters

message

A string providing a human-readable message that explains why the error occurred.

Examples

A developer would not manually use the constructor to create aGPUValidationError object. The user agent uses this constructor to create an appropriate object when a validation error is surfaced byGPUDevice.popErrorScope or theuncapturederror event.

See the mainGPUValidationError page for a specific example involving aGPUValidationError object instance.

Specifications

Specification
WebGPU
# dom-gpuvalidationerror-gpuvalidationerror

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp