The human-readable description of the error. The message property combined with the name property is used by the Error.prototype.toString() method to create a string representation of the Error.
The name property represents a name for the type of error. The name property, in addition to the message property, is used by the Error.prototype.toString() method to create a string representation of the error.
The non-standard stack property of Error objects offer a trace of which functions were called, in what order, from which line and file, and with what arguments. The stack string proceeds from the most recent calls to earlier ones, leading back to the original global scope call.