Shows a detailed error message with message, file and line in an asynchroneous dialog.
You can also set it to quit the app after the user dismisses the dialog.
See Also: Alert
Example - Show error and exit
var msg = "How dare you running that sample.\nI will close immediately!";
app.Error( msg, 4, "demo.js", true );
string: path to file or folder ( “/absolute/...” or “relative/...” )