Hi,

In message "[ruby-talk:6549] RangeError vs. IndexError"
    on 00/11/23, Robert Feldt <feldt / ce.chalmers.se> writes:

|Any ideas on when to use RangeError as compared to IndexError? Where in
|the hierarchy is RangeError? (I can't find it in figure 8.1 in the book
|p. 93).

Traditionally RangeError is used to describe numerical ranges.
OTOH, IndexError is used for (indexed) collections.

							matz.