class RangeError < StandardError

A value out of the range an operation accepts: converting NaN or an infinity to an Int (Float#to_i), a Time out of range. Its subclass OverflowError is for Int arithmetic.

<prelude>:5287