GPUError: message property
Khả dụng hạn chế
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 in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Web Workers.
Thuộc tính chỉ đọc message của giao diện GPUError cung cấp thông báo dễ đọc giải thích lý do tại sao lỗi xảy ra.
Giá trị
Một chuỗi.
Ví dụ
Để biết ví dụ sử dụng các đối tượng lỗi dựa trên GPUError, xem:
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| WebGPU> # dom-gpuerror-message> |