Re: [heycam/webidl] Exception cleanup (#250)

tobie commented on this pull request.



>  and {{DOMException}} which includes just DOMException objects.
 This allows for example an [=operation=]
 to be declared to have a {{DOMException}}
 [=return type=] or an [=attribute=]
 to be of type {{Error!!interface}}.
 
-Exceptions can be <dfn id="dfn-create-exception" for="exception" export>created</dfn> by providing its
-[=error name=].
+[=Simple exceptions=] can be <dfn id="dfn-create-exception" for="exception" export>created</dfn>
+by providing their [=error name=].
+{{DOMException|DOMExceptions}}, by providing their [=error name=] followed by {{DOMException}}.

I remembered having a twitter thread about this grammar construction. Wasn't expecting @domenic to be the first reply, though. :D

I'll fix that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/250

Received on Thursday, 8 December 2016 19:53:55 UTC