The error.message property is the string description of the error as set by calling new Error(message).
The error.message property is the string description of the error as set by calling new Error(message). The message passed to the constructor will also appear in the first line of the stack trace of the Error, however changing this property after the Error object is created may not change the first line of the stack trace (for example, when error.stack is read before this property is changed).
The error.stack property is a string describing the point in the code at which the Error was instantiated.
The error.stack property is a string describing the point in the code at which the Error was instantiated.
System Error Singleton