The Error() constructor can be called with the new operator or as a function.
The initial value of Error.prototype.constructor is the built-in Error() constructor.
The two arguments supplied to the Error() constructor describe the error number and a textual description. They are all optional.
A prototype property is automatically created in case the Error object is used as a constructor at some future time.