Exceptions

A collection of Cardano exceptions.

API reference

exception cardano.exceptions.AlreadyWithdrawing

Raised whan another withdrawal attempt is being made while one is already pending.

exception cardano.exceptions.BackendException

The base exception for backend errors.

exception cardano.exceptions.CannotCoverFee
exception cardano.exceptions.CardanoException

The base exception for cardano-python module.

exception cardano.exceptions.MissingPassphrase

Raised when the wallet is missing a required passphrase.

exception cardano.exceptions.NonNullRewards

Raised when trying to cancel stake without withdrawing rewards first.

exception cardano.exceptions.NotEnoughMoney

Raised when the balance is too low.

exception cardano.exceptions.PoolAlreadyJoined

Raised when trying to double-stake.

exception cardano.exceptions.StakingException

Base error when delegating, withdrawing or cancelling stake.

exception cardano.exceptions.TransactionException

Base for errors with constructing or handling transactions.

exception cardano.exceptions.UTXOTooSmall

Raised when the resulting UTXO with assets has too small ADA amount.

exception cardano.exceptions.WalletAlreadyExists

Raised when a duplicate wallet is requested to be created at the service.

exception cardano.exceptions.WalletException

The base exception for wallet errors.

exception cardano.exceptions.WalletServiceException

The base exception for wallet service errors.

exception cardano.exceptions.WrongPassphrase

Raised when the provided passphrase doesn’t match the wallet’s.