From: Robert Feldt Date: 2000-11-24T18:07:24+09:00 Subject: [ruby-talk:6568] Re: RangeError vs. IndexError On Fri, 24 Nov 2000, Yukihiro Matsumoto wrote: > Hi, > Hi, > |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. > Do you mean that RangeError should only be used when there's a problem relating to instances of class Range? Robert