message property

[Internet Explorer 10. While supported in pre-release versions, this property is obsolete andDOMException.name should be used instead. Applications using this property should be updated accordingly.]

Describes the error that generated the exception.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
ptr = object.message

 

Property values

Type: DOMString

A description of the error that generated the exception.

Standards information

Remarks

Messages generated by exceptions depend on the operation that generated the exception. For more information, see the reference page for the operation in question.

See also

IDBDatabaseException
code

 

 

Show: