Re: [DOMError]: Subclassing DOMError to increase granularity of error handling?

Anne van Kesteren <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CADnb78gWgFHhVMXRM374s1_TF2GGJxbVEvnq+Z2Bmvs5BQv2fQ@mail.gmail.com>
On Tue, Aug 6, 2013 at 10:24 AM, Nilsson, Claes1
<[email protected]> wrote:
> WDYT about this approach? Is this a reasonable solution?

DOMError is going away. We only need DOMException. Allen (editor of
ECMAScript) did suggest we do something like what you suggest. Have
DOMException.prototype.subname which gives a more detailed name and
ideally have DOMException.name be "DOMException" but we can probably
no longer do that. Still need to work out the details here
unfortunately as apparently last time we thought we figured error
handling out we didn't :/


-- 
http://annevankesteren.nl/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.