how can I find the error
try {
undef
} catch (e){
console.log(e)
console.dir(e)
}
the information bust be there somewhere, because the console.log (in firebug) includes:
ReferenceError: undef is not defined
but when I browse the e object, I can’t find it.
How do I find out what the error is programmatically, so I can handle the error accordingly?
Edit:

Which will produce: