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

Anne van Kesteren <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CADnb78jdiRv+kP+z=Qq4SjVS964eSjK0OG2YOuXFaSLVzyo46w@mail.gmail.com>
On Thu, Aug 8, 2013 at 11:47 AM, Nilsson, Claes1
<[email protected]> wrote:
> Sorry, I don't follow. I thought I explained the issue earlier in this thread. See http://lists.w3.org/Archives/Public/public-sysapps/2013Aug/0004.html.

That message does not make it clear why the granularity is desired at
the application layer. E.g. do you expect these to be used mostly for
debugging or do you expect the implementation to do different things
depending on the error it gets? If it's the former having whatever
error name is fine as long as the message is detailed and debugging
tools are good. If it's the latter we might need something else.


-- 
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.