Re: [whatwg/webidl] Allow DOMException subclasses to be used as exceptions (PR #1211)

It's not clear to me whether a spec would be allowed to create a DOMException with a new error name (ie, not from that table) directly, without defining an interface that inherits from DOMException.

eg: Throw a "SomeSpecSpecificError" DOMException.
instead of: Throw a SpecError with some-error-code

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

Message ID: <whatwg/webidl/pull/1211/c1273241162@github.com>

Received on Monday, 10 October 2022 12:29:44 UTC