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

View Source

An exception that is raised when something expects a non-empty enumerable but finds an empty one.

For example:

iex> Enum.min([])
** (Enum.EmptyError) empty error