[whatwg] SQL API error handling

Ian Hickson ian at hixie.ch
Wed Oct 17 14:42:37 PDT 2007


On Wed, 17 Oct 2007, Křištof Želechovski wrote:
>
> Aside: the net gain from shortening INVALID_STATE_ERROR to 
> INVALID_STATE_ERR is 2/19; is it worth sacrificing readability for 11% 
> length?

The exception names are decided by the W3C's DOM working group(s), I 
recommend raising the issue with them. HTML5 doesn't define any new 
exception codes.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list