dogecoinrpc.exceptions — Exception definitions

Exception definitions.

exception dogecoinrpc.exceptions.ClientException(error)

Bases: dogecoinrpc.exceptions.DogecoinException

P2P network error. This exception is never raised but functions as a superclass for other P2P client exceptions.

exception dogecoinrpc.exceptions.DogecoinException(error)

Bases: builtins.Exception

Base class for exceptions received from Dogecoin server.

  • code – Error code from dogecoind.
exception dogecoinrpc.exceptions.DownloadingBlocks(error)

Bases: dogecoinrpc.exceptions.ClientException

Client is still downloading blocks.

exception dogecoinrpc.exceptions.InsufficientFunds(error)

Bases: dogecoinrpc.exceptions.WalletError

Insufficient funds to complete transaction in wallet or account

exception dogecoinrpc.exceptions.InvalidAccountName(error)

Bases: dogecoinrpc.exceptions.WalletError

Invalid account name

exception dogecoinrpc.exceptions.InvalidAddressOrKey(error)

Bases: dogecoinrpc.exceptions.DogecoinException

Invalid address or key.

dogecoinrpc.exceptions.InvalidAmount

alias of JSONTypeError

exception dogecoinrpc.exceptions.InvalidParameter(error)

Bases: dogecoinrpc.exceptions.DogecoinException

Invalid parameter provided to RPC call.

dogecoinrpc.exceptions.InvalidTransactionID

alias of InvalidAddressOrKey

exception dogecoinrpc.exceptions.JSONTypeError(error)

Bases: dogecoinrpc.exceptions.DogecoinException

Unexpected type was passed as parameter

exception dogecoinrpc.exceptions.KeypoolRanOut(error)

Bases: dogecoinrpc.exceptions.WalletError

Keypool ran out, call keypoolrefill first

exception dogecoinrpc.exceptions.NotConnected(error)

Bases: dogecoinrpc.exceptions.ClientException

Not connected to any peers.

exception dogecoinrpc.exceptions.OutOfMemory(error)

Bases: dogecoinrpc.exceptions.DogecoinException

Out of memory during operation.

exception dogecoinrpc.exceptions.SafeMode(error)

Bases: dogecoinrpc.exceptions.DogecoinException

Operation denied in safe mode (run dogecoind with -disablesafemode).

dogecoinrpc.exceptions.SendError

alias of WalletError

exception dogecoinrpc.exceptions.TransportException(msg, code=None, protocol=None, raw_detail=None)

Bases: builtins.Exception

Class to define transport-level failures.

exception dogecoinrpc.exceptions.WalletAlreadyUnlocked(error)

Bases: dogecoinrpc.exceptions.WalletError

Wallet is already unlocked

exception dogecoinrpc.exceptions.WalletEncryptionFailed(error)

Bases: dogecoinrpc.exceptions.WalletError

Failed to encrypt the wallet

exception dogecoinrpc.exceptions.WalletError(error)

Bases: dogecoinrpc.exceptions.DogecoinException

Unspecified problem with wallet (key not found etc.)

exception dogecoinrpc.exceptions.WalletPassphraseIncorrect(error)

Bases: dogecoinrpc.exceptions.WalletError

The wallet passphrase entered was incorrect

exception dogecoinrpc.exceptions.WalletUnlockNeeded(error)

Bases: dogecoinrpc.exceptions.WalletError

Enter the wallet passphrase with walletpassphrase first

exception dogecoinrpc.exceptions.WalletWrongEncState(error)

Bases: dogecoinrpc.exceptions.WalletError

Command given in wrong wallet encryption state (encrypting an encrypted wallet etc.)

dogecoinrpc.exceptions.wrap_exception(error)

Convert a JSON error object to a more specific Dogecoin exception.

Previous topic

dogecoinrpc.connection — Connect to Dogecoin server via JSON-RPC

Next topic

dogecoinrpc.data — Dogecoin RPC service, data objects

This Page