November 2001
Intermediate to advanced
936 pages
68h 43m
English
Error.message — a human-readable error message
JavaScript 1.5; JScript 5.5; ECMAScript v3
error.messageThe 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.