W3C home > Mailing lists > Public > public-sysapps@w3.org > August 2013

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 8 Aug 2013 11:55:46 +0100
Message-ID: <CADnb78jdiRv+kP+z=Qq4SjVS964eSjK0OG2YOuXFaSLVzyo46w@mail.gmail.com>
To: "Nilsson, Claes1" <Claes1.Nilsson@sonymobile.com>
Cc: Jonas Sicking <jonas@sicking.cc>, "www-dom@w3.org" <www-dom@w3.org>, "public-sysapps@w3.org" <public-sysapps@w3.org>
On Thu, Aug 8, 2013 at 11:47 AM, Nilsson, Claes1
<Claes1.Nilsson@sonymobile.com> 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/
Received on Thursday, 8 August 2013 10:56:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:14 UTC