W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 8 Aug 2013 10:08:23 +0100
Message-ID: <CADnb78gv_MzKAO_9kZ_H50m4YoWoBvRTDWnBWhm5MsaVDHT5_g@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 8:47 AM, Nilsson, Claes1
<Claes1.Nilsson@sonymobile.com> wrote:
> Thanks Jonas for informing me about the thread you started. Seems as a good approach to subclass DOMException to achieve a more granular error reporting when this is needed. So I'll keep the current construction until there is consensus on the solution in W3C and in the EcmaScript organization.

Why does that seem like a good approach? What kind of error handling
do you expect applications to perform?


-- 
http://annevankesteren.nl/
Received on Thursday, 8 August 2013 09:08:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC