# `Localize.InvalidAmountError`
[🔗](https://github.com/elixir-localize/localize/blob/v1.5.0/lib/localize/exception/invalid_amount_error.ex#L1)

Exception returned when a currency amount names its currency but its
number cannot be read.

`Localize.Number.Parser.parse_currency_amount/2` returns it with the
`:currency` it found, the `:amount` text it could not read as a number,
and the number parser's own error as `:cause`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
