[Bug 10622] New: ECMAScript binding for exceptions

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10622

           Summary: ECMAScript binding for exceptions
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: annevk@opera.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


They should inherit from Error. Furthermore, there should be a way for me to
declare what the Error name exception field would return, ideally via a
shorthand.

For DOMException the name exception field has to return the constant the code
exception field returns, as a string. So e.g. for a NAMESPACE_ERR the name
exception field would return "NAMESPACE_ERR".

-- 
Configure bugmail: http://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 Monday, 13 September 2010 07:46:18 UTC