Correction: The November meeting didn't quite decide; there was more discussion on es-discuss and at the TC39 meeting on 2012-01-19: https://mail.mozilla.org/pipermail/es-discuss/2011-November/thread.html#18685 https://mail.mozilla.org/pipermail/es-discuss/2012-January/019784.html
Norbert On Aug 6, 2013, at 12:44 , Norbert Lindenberg <[email protected]> wrote: > I actually had ValueError in the 2011-10-31 draft of ECMA-402; the TC39 > meeting on 2011-11-16 decided against that. > > http://wiki.ecmascript.org/lib/exe/fetch.php?id=globalization%3Aspecification_drafts&cache=cache&media=globalization:working_draft_ecmascript_globalization_api_2011-10-31.pdf > > https://mail.mozilla.org/pipermail/es-discuss/2011-November/018507.html > > Norbert > > > On Aug 6, 2013, at 12:31 , Allen Wirfs-Brock <[email protected]> wrote: > >> We did discuss this, as record in >> https://bugs.ecmascript.org/show_bug.cgi?id=224 , and concluded that we it >> we didn't want to add any new built-in exceptions. Of the existing >> exceptions , RangeError is closest in concept to what might be described as >> ValueError. >> >> Allen >> >> On Aug 6, 2013, at 11:51 AM, Brendan Eich wrote: >> >>> Problem is, "TypeError" for what Python calls "ValueError", what JS might >>> call "DomainError" to go with "RangeError", is lame. Allen, Rick, I forget: >>> have we discussed DomainError or ValueError? >>> >>> /be >>> >>> Anne van Kesteren wrote: >>>> On Wed, Jul 17, 2013 at 7:10 PM, Jonas Sicking<[email protected]> wrote: >>>>> Good point. It's entirely plausible that we could simply use the ES >>>>> SyntaxError in all cases where DOMException SyntaxError is being >>>>> thrown today. Would need to be tested though. >>>> >>>> SyntaxError is used by JavaScript for syntax errors in JavaScript. We >>>> shouldn't use it for where we throw "SyntaxError" in platform APIs >>>> today per discussion with Allen. (He considered the usage for JSON >>>> already as a mistake.) >>>> >>>> >>> >> >> _______________________________________________ >> es-discuss mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/es-discuss > _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

