class ArgumentError

Overview

Raised when the arguments are wrong and there isn't a more specific Exception class.

[1, 2, 3].first(-4) # raises ArgumentError (attempt to take negative size)

Defined in:

perf_tools/mem_prof.cr

Class methods inherited from class Object

_fields_offsets _fields_offsets