JavaScript – Error message Property
The Error object provides error information when an error occurs. The message property sets or returns an error message.
The Error object provides error information when an error occurs. The message property sets or returns an error message.
The Error object provides error information when an error occurs. The name property sets or returns the name of an error.