summaryrefslogtreecommitdiff
path: root/ext/webgpu/01_webgpu.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/01_webgpu.js')
-rw-r--r--ext/webgpu/01_webgpu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js
index 47ae9603f..e12e8699d 100644
--- a/ext/webgpu/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
@@ -998,7 +998,7 @@ class InnerGPUDevice {
);
break;
case "out-of-memory":
- constructedError = new GPUOutOfMemoryError();
+ constructedError = new GPUOutOfMemoryError("not enough memory left");
break;
case "internal":
constructedError = new GPUInternalError();