SoftBank.Note.Currency.get-exclamation-mark

You're seeing just the function get-exclamation-mark, go back to SoftBank.Note.Currency module for more information.

Specs

get!(SoftBank.Note.t() | String.t() | atom()) :: map()

Returns a map with the name and symbol of the currency. An ArgumentError is raised if the currency doesn’t exist.

Example:

iex> SoftBank.Note.Currency.get!(:USD)
%{name: "US Dollar", symbol: "$"}
iex> SoftBank.Note.Currency.get!(:WRONG)
** (ArgumentError) currency WRONG doesn’t exist