FunctionClauseError exception (Elixir v1.19.0-rc.0)

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: