Back to Content

GPUDeviceLostInfo: message property

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

latest506 B
Original Source

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

The message read-only property of the {{domxref("GPUDeviceLostInfo")}} interface provides a human-readable message that explains why the device was lost.

Value

A string.

Examples

See the main GPUDevice.lost page for an example.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also