# `Enum.OutOfBoundsError`
[🔗](https://github.com/elixir-lang/elixir/blob/v1.20.0-rc.3/lib/elixir/lib/exception.ex#L2328)

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 at position 5 when traversing enumerable [1, 2, 3]

# `message`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
