Skip to content

Exceptions

CardHolderNotFoundException

Bases: PaymentCardException

Exception raised when trying to use a non-existing Card Holder.

CardHolderTerminatedException

Bases: PaymentCardException

Exception raised when trying to use a terminated Card Holder.

CardNotFoundException

Bases: PaymentCardException

Exception raised when trying to use a non-existing Card.

CardOrderNotFoundException

Bases: PaymentCardException

Exception raised when trying to use a non-existing Card Order.

CardTerminatedException

Bases: PaymentCardException

Exception raised when trying to use a terminated Card.

InvalidCardStatusTransitionException

Bases: PaymentCardException, ValueError

Exception raised when attempting an invalid Card status transition.

MissingCardIssuingConfigurationException

Bases: PaymentCardException

Exception raised when trying to create a Card without a Card Issuing Configuration.

MissingCardPasswordSaltException

Bases: PaymentCardException

Exception raised when trying to generate a Card password without a password salt.

MissingCardShipmentInfoException

Bases: PaymentCardException, ValueError

Exception raised when trying to create a physical Card without providing shipment info.

PaymentCardException

Bases: PaymentGatewayException

Base class for all Card exceptions.