class IndexError

Overview

Raised when the given index is invalid.

a = [:foo, :bar]
a[2] # raises IndexError

Defined in:

perf_tools/mem_prof.cr

Class methods inherited from class Object

_fields_offsets _fields_offsets