bittensor.errors
#
Module Contents#
- exception bittensor.errors.BlacklistedException#
Bases:
Exception
This exception is raised when the request is blacklisted.
- exception bittensor.errors.ChainConnectionError#
Bases:
ChainError
Error for any chain connection related errors.
- exception bittensor.errors.ChainError#
Bases:
BaseException
Base error for any chain related errors.
- exception bittensor.errors.ChainQueryError#
Bases:
ChainError
Error for any chain query related errors.
- exception bittensor.errors.ChainTransactionError#
Bases:
ChainError
Error for any chain transaction related errors.
- exception bittensor.errors.IdentityError#
Bases:
ChainTransactionError
Error raised when an identity transaction fails.
- exception bittensor.errors.InternalServerError#
Bases:
Exception
This exception is raised when the requested function fails on the server. Indicates a server error.
- exception bittensor.errors.InvalidRequestNameError#
Bases:
Exception
This exception is raised when the request name is invalid. Ususally indicates a broken URL.
- 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.
- exception bittensor.errors.MetadataError#
Bases:
ChainTransactionError
Error raised when metadata commitment transaction fails.
- exception bittensor.errors.NominationError#
Bases:
ChainTransactionError
Error raised when a nomination transaction fails.
- exception bittensor.errors.NotDelegateError#
Bases:
StakeError
Error raised when a hotkey you are trying to stake to is not a delegate.
- exception bittensor.errors.NotRegisteredError#
Bases:
ChainTransactionError
Error raised when a neuron is not registered, and the transaction requires it to be.
- exception bittensor.errors.NotVerifiedException#
Bases:
Exception
This exception is raised when the request is not verified.
- exception bittensor.errors.PostProcessException#
Bases:
Exception
This exception is raised when the response headers cannot be updated.
- exception bittensor.errors.PriorityException#
Bases:
Exception
This exception is raised when the request priority is not met.
- exception bittensor.errors.RegistrationError#
Bases:
ChainTransactionError
Error raised when a neuron registration transaction fails.
- exception bittensor.errors.RunException#
Bases:
Exception
This exception is raised when the requested function cannot be executed. Indicates a server error.
- exception bittensor.errors.StakeError#
Bases:
ChainTransactionError
Error raised when a stake transaction fails.
- exception bittensor.errors.SynapseParsingError#
Bases:
Exception
This exception is raised when the request headers are unable to be parsed into the synapse type.
- exception bittensor.errors.TransferError#
Bases:
ChainTransactionError
Error raised when a transfer transaction fails.
- exception bittensor.errors.UnknownSynapseError#
Bases:
Exception
This exception is raised when the request name is not found in the Axon’s forward_fns dictionary.
- exception bittensor.errors.UnstakeError#
Bases:
ChainTransactionError
Error raised when an unstake transaction fails.