MyApp.Cldr.Territory.from_territory_code-exclamation-mark

You're seeing just the function from_territory_code-exclamation-mark, go back to MyApp.Cldr.Territory module for more information.
Link to this function

from_territory_code!(territory_code, options \\ [locale: MyApp.Cldr.get_locale(), style: :standard])

View Source

Specs

The same as from_territory_code/2, but raises an exception if it fails.

Example

iex> MyApp.Cldr.Territory.from_territory_code!(:GB)
"United Kingdom"

iex> MyApp.Cldr.Territory.from_territory_code!(:GB, [style: :short])
"UK"

iex> MyApp.Cldr.Territory.from_territory_code!(:GB, [locale: "pt"])
"Reino Unido"