Re: [whatwg/webidl] What to do about specs that need lots of error types (Issue #1219)

I tend to see it as only two levels, name and responseCode. At least without cross-global instanceof you wouldn't want to rely on that.

I guess it depends a bit on the exact use cases and how developers are expected to deal with it. Also, do they need to branch on things besides smartcode-specific exceptions, e.g., "SyntaxError" or "InvalidStateError"?

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

Message ID: <whatwg/webidl/issues/1219/1284223847@github.com>

Received on Wednesday, 19 October 2022 15:47:08 UTC