| Issue 5: | ScriptError should have file name and line number properties | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
|