Issue 5: ScriptError should have file name and line number properties
Status:  New
Owner: ----
Reported by wladi...@palant.de, Oct 5, 2010
The error message "Reference error: undefined is not defined" isn't very helpful - ScriptError should allow locating the error without wrapping the entire code into a try .. catch block and printing errors in JavaScript.

For reference, here are the properties of the JavaScript Error object:

https://developer.mozilla.org/en/JavaScript/Reference/global_objects/error

message, fileName and lineNumber are essential, name is a nice to have.
Oct 5, 2010
#1 wladi...@palant.de
Note: I did try cx.get_stack(). However, when ScriptError is being handled the stack is empty.