bittensor.errors#

Module Contents#

exception bittensor.errors.ChainError#

Bases: BaseException

Base error for any chain related errors.

exception bittensor.errors.ChainConnectionError#

Bases: ChainError

Error for any chain connection related errors.

exception bittensor.errors.ChainTransactionError#

Bases: ChainError

Error for any chain transaction related errors.

exception bittensor.errors.ChainQueryError#

Bases: ChainError

Error for any chain query related errors.

exception bittensor.errors.StakeError#

Bases: ChainTransactionError

Error raised when a stake transaction fails.

exception bittensor.errors.UnstakeError#

Bases: ChainTransactionError

Error raised when an unstake transaction fails.

exception bittensor.errors.IdentityError#

Bases: ChainTransactionError

Error raised when an identity transaction fails.

exception bittensor.errors.NominationError#

Bases: ChainTransactionError

Error raised when a nomination transaction fails.

exception bittensor.errors.TransferError#

Bases: ChainTransactionError

Error raised when a transfer transaction fails.

exception bittensor.errors.RegistrationError#

Bases: ChainTransactionError

Error raised when a neuron registration transaction fails.

exception bittensor.errors.NotRegisteredError#

Bases: ChainTransactionError

Error raised when a neuron is not registered, and the transaction requires it to be.

exception bittensor.errors.NotDelegateError#

Bases: StakeError

Error raised when a hotkey you are trying to stake to is not a delegate.

exception bittensor.errors.KeyFileError#

Bases: Exception

Error thrown when the keyfile is corrupt, non-writable, non-readable or the password used to decrypt is invalid.