An example might make this clearer. Consider the following simple line of code,
colours = "red";
An error has occurred in the script on this page.Line: 8Char: 1Error: 'colours' is undefinedCode: 0URL: http://localhost/errors.html
You can see this from the first few lines of the output, which describe the exception, together with the variable that caused it.