BadMapError exception (Elixir v1.19.0-rc.0)
View SourceAn exception raised when a map is expected, but something else was given.
For example:
iex> value = "hello"
iex> %{value | key: "value"}
** (BadMapError) expected a map, got:
...
An exception raised when a map is expected, but something else was given.
For example:
iex> value = "hello"
iex> %{value | key: "value"}
** (BadMapError) expected a map, got:
...