class

Num::Exceptions::IndexError

Inherits Exception / Reference / Object

Raised when a sequence subscript is out of range. (Slice indices are silently truncated to fall in the allowed range; if an index is not an integer, TypeCastError is raised.)