diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/common/internal/util.js')
-rw-r--r-- | testing/web-platform/mozilla/tests/webgpu/common/internal/util.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/common/internal/util.js b/testing/web-platform/mozilla/tests/webgpu/common/internal/util.js new file mode 100644 index 0000000000..6e6125474d --- /dev/null +++ b/testing/web-platform/mozilla/tests/webgpu/common/internal/util.js @@ -0,0 +1,10 @@ +/** +* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts +**/ /** + * Error without a stack, which can be used to fatally exit from `tool/` scripts with a + * user-friendly message (and no confusing stack). + */export class StacklessError extends Error {constructor(message) { + super(message); + this.stack = undefined; + } +}
\ No newline at end of file |