Describes errors thrown by selection and range operations.
- Returns a DOMString value that is the name of the error that occurred during a Range operation.
Use DOMException instead.
Starting with Gecko 13.0 (Firefox 13.0 / Thunderbird 13.0 / SeaMonkey 2.10) the Range object throws a DOMException as defined in DOM 4, instead of a RangeException defined in prior specifications.
Gecko supported it up to Gecko 1.9, then removed it until Gecko 17 where it was reimplemented, matching the spec
- Living Standard
Microsoft Developer Network: [RangeException Object Article]