Re: [whatwg/webidl] Bikeshedding help needed for generic over-limit error (Issue #1463)

Ah, I'd forgotten that's how it works. No, I wouldn't be in favor of conditionally adding properties to base `DOMException` instances. (I mean, it's not a terrible option, but it wouldn't be my preferred route).

What about doing (1), but calling it `QuotaExceededError`, and retrofitting the existing specs to use the new subclass instead of the base type? It's hard to imagine this actually breaking anything, since it would still be a subclass of `DOMException` and the `.name` would still match.

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

Message ID: <whatwg/webidl/issues/1463/2611550011@github.com>

Received on Friday, 24 January 2025 04:30:10 UTC