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

[webdatabase] SQLError codes

From: João Eiras <joaoe@opera.com>
Date: Sat, 01 Aug 2009 02:59:13 +0100
To: "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <op.uxynsuyt2q99of@coruscant>
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;

Thank you.
Received on Saturday, 1 August 2009 01:59:57 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:18 UTC