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

On Tue, Aug 6, 2013 at 10:24 AM, Nilsson, Claes1
<Claes1.Nilsson@sonymobile.com> 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/

Received on Tuesday, 6 August 2013 09:54:04 UTC