name property
Gets the exception name that is raised.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.name |
Property values
Type: DOMString
A string that identifies the reason that the requested operation cannot be performed. The string can be one of the following values:
-
An object of the wrong type is passed to the operation.
-
An invalid value is passed to the operation or assigned to an attribute.
-
An attempt is made to invert a matrix that is not invertible.
See also
Show:
