Should Exceptions be Errors in the ECMAScript bindings?

I assume this has been covered before but I could not find any
previous discussion.

Would it make sense to make DOM exceptions be Error objects in the
ECMAScript bindings? The reason this came up (again) is that some
engines provide stack traces on Error objects and developers also want
this on DOMExceptions. If DOMExceptions where real Errors engines
would get that feature for "free".

erik

Received on Wednesday, 18 April 2012 18:33:47 UTC