Library / Errors / Errors / IndexOutOfBoundsError
CLASSEXTENDS Error
IndexOutOfBoundsError
Kernel error class. Raised by every collection's bounds check
(Array.at / Array.setAt / Array.insertAt / Array.remove, LinkedList.insertAt,
removeAt, etc.). The message field typically encodes the offending index
and the collection's length at PANIC time; format follows the pattern
"index $1 out of bounds for length $2".
Constructors 1
INIT(REFERENCE String message)