name
Summary
Returns a DOMString value that is the name of the error that occurred during a Range operation.
Property of dom/RangeExceptiondom/RangeException
Syntax
Note: This property is read-only.
var sErrName = rangeException.name;
Return Value
Returns an object of type StringString
The name of the specific RangeException that occured.
Notes
Remarks
Range exception also supports a code value. The following table shows the code associated with the specific RangeException:
Code value | Name value |
---|---|
1 | BadBoundarypointsError |
2 | InvalidNodeTypeError |
Syntax
Related specifications
- DOM
- Living Standard
Attributions
Microsoft Developer Network: [name Property Article]