Re: Legacy DOM exception codes

Having informative string names is generally encouraged. What type of error
object you use is a major can of worms, but I think right now the advice is
"specific names with generic error types".


On Wed, Oct 2, 2013 at 4:41 PM, Raymond Toy <rtoy@google.com> wrote:

> The spec refers to the legacy DOM exception codes like INDEX_SIZE_ERR.
>  Should we change these to the new names, like "IndexSizeError" as given in
> http://dom.spec.whatwg.org/#error-names-0.
>
> (This came up in a code review.)
>
> (Should I have filed an issue for this instead of bringing it up on the
> list?)
>
> Ray
>
>

Received on Wednesday, 2 October 2013 20:47:15 UTC