Re: [whatwg/webidl] What's the idiomatic way to reject a promise with structured data? (Issue #1223)

@domenic so, sounds like we should subclass DOMException?

```
interface GPUException : DOMException {
  readonly attribute DOMString failedFunction;
  ... other things too ...
};
```

Is this ready to go? We'd be happy to add this to the WebGPU spec as soon as you give the go-ahead.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1223#issuecomment-1297767925
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1223/1297767925@github.com>

Received on Monday, 31 October 2022 22:27:47 UTC