AvailabilityJavaScript 1.5; JScript 5.5; ECMAScript v3 Synopsiserror.message DescriptionThe message property of an Error object (or of an instance of any subclass of Error) is intended to contain a human-readable string that provides details about the error or exception that occurred. If a message argument is passed to the Error( ) constructor, this message becomes the value of the message property. If no message argument is passed, an Error object inherits an implementation-defined default value (which may be the empty string) for this property. |