W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 16470] Exception message contruction

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Mar 2012 22:38:26 +0000
To: public-script-coord@w3.org
Message-Id: <E1SAUAk-0006dV-0I@jessica.w3.org>

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> 2012-03-21 22:38:25 UTC ---
Do you mean that passing undefined to built-in error constructors will result
in no message being set, while for Web IDL error constructors it will set the
message to "undefined"?  If so, you're right, we should follow what the
built-in ones do.

Default messages cannot be set in the IDL.

I've added a clarifying note that setting the message property shadows the one
from Error.prototype.


Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 21 March 2012 22:38:28 UTC

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