W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2015

Re: Dictionary errors

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 26 Aug 2015 10:40:57 +0200
Message-ID: <CADnb78hmechbFhqAiv9xEoXMgg4Wr26i8LA2BWDvY-1Wkp+rhQ@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>, Jan-Ivar Bruaroey <jib@mozilla.com>
On Wed, Aug 26, 2015 at 10:30 AM, Adam Bergkvist
<adam.bergkvist@ericsson.com> wrote:
> No one?

I missed this. I think it makes sense to use TypeError here. You
really only want to use specific DOMException names if there's a case
to be made for branching on the exception thrown. Otherwise simply
sticking to TypeError is best.

Received on Wednesday, 26 August 2015 08:41:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC