Object Error
Description:
The object containing properties that can be used to identify additional details regarding the error.
Properties and methods:
name | Error name.
This is just an error type identifier, for example "RangeError", "SyntaxError", "TypeError" ... |
message | Error description
Contains detailed description (sometimes including the row number where the error occured). |
toString() | Name and error description (message) merged into one text.
(err.name + ": " + err.message) |