W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [webdatabase] SQLError codes

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 12 Aug 2009 01:14:06 +0000 (UTC)
To: João Eiras <joaoe@opera.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0908120055100.6420@hixie.dreamhostps.com>
On Sat, 1 Aug 2009, João Eiras wrote:
>
> The IDL for SQLError defines a code property with the values described at
> http://dev.w3.org/html5/webdatabase/#errors-and-exceptions
> Currently, the table with those values only has numbers (error codes) and
> textual descriptionss.
> It would be nice if those errors were enumerated in the SQLError interface,
> and be given a persistent name, like with DOMException.
> 
> interface SQLError {
>   readonly attribute unsigned long code;
>   readonly attribute DOMString message;
> 
>   static const unsigned long TRANSACTION_FAILED = 0;
>   static const unsigned long DATABASE_ERROR = 1;
>   ....
> };

Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 12 August 2009 01:14:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT