W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2014

Re: Exception usage

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 13 Feb 2014 09:57:25 +0000
Message-ID: <CADnb78jwS4yG14bEHzUWUa7bnWu5CHO6cm-sS-3RMotZZpM9Zg@mail.gmail.com>
To: Jacob Rossi <Jacob.Rossi@microsoft.com>
Cc: "Olli@pettay.fi" <olli@pettay.fi>, Matt Brubeck <mbrubeck@mozilla.com>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>
On Wed, Feb 12, 2014 at 11:57 PM, Jacob Rossi <Jacob.Rossi@microsoft.com> wrote:
> I think TypeError is also inappropriate. The exceptional scenario includes cases where the argument type is correct (number) but the particular value is not.

That's fine. TypeError can be used for many different reasons. See the
JavaScript specification or ask its author.


-- 
http://annevankesteren.nl/
Received on Thursday, 13 February 2014 09:57:55 UTC

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