Enum.EmptyError exception (Elixir v1.19.0-dev)
View SourceAn 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
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