I have a situation where I expect some cited elixir code to be an atom. If the wrong cited code is passed, I want to raise an error and show what was the wrong code.
The easiest way to show what I need with an example.
quoted_code = quote do: %{}
"%{}" = some_func(quoted_code)
source
share