Cldr.unknown_currency_error

You're seeing just the function unknown_currency_error, go back to Cldr module for more information.
Link to this function

unknown_currency_error(currency)

View Source

Specs

unknown_currency_error(any()) :: {Cldr.UnknownCurrencyError, String.t()}

Returns an error tuple for an invalid currency.

Arguments

Returns

  • {:error, {Cldr.UnknownCurrencyError, message}}

Examples

iex> Cldr.unknown_currency_error("invalid")
{Cldr.UnknownCurrencyError, "The currency \"invalid\" is invalid"}