Types
EmptyArrayFail
Represents an error of using an empty array for an operation that requires at least one element in the array.
Parent types
IndexNotFound
- Represents an error of out-of-bounds array index.
Example
a = [] echo(shift(a)) # ... Exception of type EmptyArrayFail ...