Windows Dev Center

name property

Returns a DOMString value that is the name of the error that occurred during a Range operation.

This property is read-only.

Syntax

JavaScript
sErrorName = object.name

 

Property values

Type: DOMString

The name of the specific RangeException that occured.

Remarks

Range exception also supports a code value. The following table shows the code associated with the specific RangeException:

Code valueName value
1BadBoundarypointsError
2InvalidNodeTypeError

 

See also

RangeException

 

 

Show:
© 2015 Microsoft