Types

EmptyArrayFail

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

Parent types

Example

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