Enum.OutOfBoundsError exception (Elixir v1.19.0-dev)

View Source

An exception that is raised when a function expects an enumerable to have a certain size but finds that it is too small.

For example:

iex> Enum.fetch!([1, 2, 3], 5)
** (Enum.OutOfBoundsError) out of bounds error

Summary

Functions

message(index, enumerable)