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