Another case of wanting to a test like isArray, this time on exceptions

I feel like a broken record, but...

https://bugzilla.mozilla.org/show_bug.cgi?id=911799 has a use case for 
detecting what sort of exception you have: TypeError, StopIteration, or 
whatnot.  Doing this when the exception was thrown in code running in a 
different global is not really possible right now, right?

We may want some sort of mechanism on exceptions to ask them what sorts 
of exceptions they are.

-Boris

Received on Tuesday, 3 September 2013 01:50:30 UTC