FunctionClauseError exception (Elixir v1.20.0-dev)

View Source

An exception raised when a function call doesn't match any defined clause.

For example:

iex> URI.parse(:wrong_argument)
** (FunctionClauseError) no function clause matching in URI.parse/1

The following fields of this exception are public and can be accessed freely: