FunctionClauseError exception (Elixir v1.19.0-rc.0)
View SourceAn 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:
:module
(module/0
) - the module name:function
(atom/0
) - the function name:arity
(non_neg_integer/0
) - the arity of the function