BadFunctionError exception (Elixir v1.19.0-dev)
View SourceAn exception raised when a function is expected, but something else was given.
For example:
iex> value = "hello"
value.()
** (BadFunctionError) expected a function, got: "hello"
An exception raised when a function is expected, but something else was given.
For example:
iex> value = "hello"
value.()
** (BadFunctionError) expected a function, got: "hello"