- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 30 Sep 2026 01:46:47 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 30 September 2026 08:46:51 UTC
@annevk commented on this pull request.
> @@ -4983,11 +4983,11 @@ following types:
* <dfn exception>TypeError</dfn>
* <dfn exception>URIError</dfn>
-These correspond to all of the JavaScript [=ECMAScript/error objects=] (apart from
-<l spec=ecmascript>{{SyntaxError}}</l> and <l spec=ecmascript>{{Error}}</l>, which are deliberately
-omitted as they are reserved for use by the JavaScript parser and by authors, respectively). The
-meaning of each [=simple exception=] matches its corresponding error object in the JavaScript
-specification.
+These correspond to all of the JavaScript [=ECMAScript/error objects=] that are not designed
+only to wrap other errors (apart from <l spec=ecmascript>{{SyntaxError}}</l> and
+<l spec=ecmascript>{{Error}}</l>, which are deliberately omitted as they are reserved for use by
+the JavaScript parser and by authors, respectively). The meaning of each [=simple exception=]
+matches its corresponding error object in the JavaScript specification.
I think this would be clearer if we actually named the other two error types explicitly as well.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1644#pullrequestreview-5363801656
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/webidl/pull/1644/review/5363801656@github.com>
Received on Wednesday, 30 September 2026 08:46:51 UTC