PassiveSupport.Map.atomize_keys-exclamation-mark

You're seeing just the function atomize_keys-exclamation-mark, go back to PassiveSupport.Map module for more information.
Link to this function

atomize_keys!(map)

Returns map with its keys as atoms, if those atoms already exist.

Raises ArgumentError otherwise.

Examples

iex> [:oh, :yay] # existing keys
iex> atomize_keys!(%{"oh" => "ooh", 'yay' => 'yaaay'})
%{oh: "ooh", yay: 'yaaay'}

iex> atomize_keys!(%{"oh" => "ooh", "noo" => "noooo"})
** (PassiveSupport.NonexistentAtoms) No atoms exist for the values ["noo"]