RangeExceptionCode enumeration
An integer indicating the type of error generated.
The RangeExceptionCode enumeration has the following constants of type unsigned short.
BAD_BOUNDARYPOINTS_ERR = 1
If the boundary-points of a Range do not meet specific requirements.
INVALID_NODE_TYPE_ERR = 2
If the container of an boundary-point of a Range is being set to either a node of an invalid type or a node with an ancestor of an invalid type.