Explains JavaScript's try..catch error handling: the try block halts on error and passes control to catch(err), detailing properties on the caught error object like err.name (EvalError, RangeError, ReferenceError, SyntaxError, TypeError, URIError), err.message, err.stack, and err.linenumber. ...
JavaScript Error Handling