Skip to main content
message property

Retrieves a string that describes the error that occurred.

Document Object Model (DOM) Level 2 Core Specification, Section 1.2 Internet Explorer 9

 

Syntax

JavaScript

p = object.message

 

Property values

Type: String

The error message.

Standards information

See also

DOMException
EventException
RangeException
code