Back to Content

GPUError: message property

files/en-us/web/api/gpuerror/message/index.md

latest854 B
Original Source

{{APIRef("WebGPU API")}}{{SecureContext_Header}}{{AvailableInWorkers}}

The message read-only property of the {{domxref("GPUError")}} interface provides a human-readable message that explains why the error occurred.

Value

A string.

Examples

For usage examples of error objects based on GPUError, see:

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also