- From: Kai Ninomiya <notifications@github.com>
- Date: Thu, 01 Jun 2023 14:25:39 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 1 June 2023 21:25:44 UTC
@kainino0x commented on this pull request.
> +
+ readonly attribute unsigned long long errorCode;
+ };
+
+ dictionary ProtocolXErrorOptions {
+ required [EnforceRange] unsigned long long errorCode;
+ };
+ </pre>
+
+ Every <code>ProtocolXError</code> instance has an <dfn for="ProtocolXError">error code</dfn>,
+ a number.
+
+ <div algorithm="ProtocolXError constructor">
+ The <b><code>new ProtocolXError(|message|, |options|)</code></b> constructor steps are:
+
+ 1. Set [=this=]'s [=DOMException/name=] to "<code>ProtocolXError</code>".
+1 to https://github.com/whatwg/webidl/pull/1211#discussion_r1085536857:
It seems `[=DOMException/name=]` should be `{{DOMException/name}}`, etc
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1211#pullrequestreview-1456337047
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/webidl/pull/1211/review/1456337047@github.com>
Received on Thursday, 1 June 2023 21:25:44 UTC