EmptyArrayFail type

Represents an error of using an empty array for an operation that requires at least one element in the array.

Example

a = []
echo(shift(a))
# ... Exception of type EmptyArrayFail ...

Direct parent types

IndexNotFound
Represents an error of out-of-bounds array index.
Direct subtypes: 1