Shows a detailed error message with message, file and line in an asynchroneous dialog.
Example - Show error and exit
function OnStart()
{
var msg = "How dare you running that sample.\nI will close immediately!";
app.Error( msg, 4, "demo.js", true );
}
def OnStart():
msg = "How dare you running that sample.\nI will close immediately!"
app.Error( msg, 4, "demo.js", true )