Return to Snippet

Revision: 17385
at September 2, 2009 16:09 by delikassap


Initial Code
function handleError()
{
alert(An error has occurred!');
return true;
}
window.onerror = handleError;

Initial URL
http://hungred.com/2009/03/08/how-to/javascript-tutorial-handling-errors/

Initial Description


Initial Title
Javascript Global Error Handling

Initial Tags
javascript, error

Initial Language
JavaScript