Exceptions
The exceptions module defines the custom exceptions used by the moneyx library.
- exception moneyx.exceptions.MoneyError[source]
Bases:
ExceptionGeneral error for the moneyx library.
- exception moneyx.exceptions.InvalidCurrencyError[source]
Bases:
MoneyErrorUnknown or invalid currency.
- exception moneyx.exceptions.PrecisionError[source]
Bases:
MoneyErrorMore decimal places than allowed for the currency.
- exception moneyx.exceptions.SerializationError[source]
Bases:
MoneyErrorError raised when serialization or deserialization fails.