bittensor.core.errors#
Exceptions#
This exception is raised when the request is blacklisted. |
|
Error for any chain connection related errors. |
|
Base error for any chain related errors. |
|
Error for any chain query related errors. |
|
Error for any chain transaction related errors. |
|
Error raised when an identity transaction fails. |
|
This exception is raised when the requested function fails on the server. Indicates a server error. |
|
This exception is raised when the request name is invalid. Usually indicates a broken URL. |
|
Error raised when metadata commitment transaction fails. |
|
Error raised when a nomination transaction fails. |
|
Error raised when a hotkey you are trying to stake to is not a delegate. |
|
Error raised when a neuron is not registered, and the transaction requires it to be. |
|
This exception is raised when the request is not verified. |
|
This exception is raised when the response headers cannot be updated. |
|
This exception is raised when the request priority is not met. |
|
Error raised when a neuron registration transaction fails. |
|
This exception is raised when the requested function cannot be executed. Indicates a server error. |
|
Error raised when a stake transaction fails. |
|
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
This exception is raised when the request headers are unable to be parsed into the synapse type. |
|
Error raised when an increase / decrease take transaction fails. |
|
Error raised when a transfer transaction fails. |
|
This exception is raised when the request name is not found in the Axon's forward_fns dictionary. |
|
Error raised when an unstake transaction fails. |
Module Contents#
- exception bittensor.core.errors.BlacklistedException(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the request is blacklisted.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.ChainConnectionError#
Bases:
ChainError
Error for any chain connection related errors.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.ChainError#
Bases:
BaseException
Base error for any chain related errors.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.ChainQueryError#
Bases:
ChainError
Error for any chain query related errors.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.ChainTransactionError#
Bases:
ChainError
Error for any chain transaction related errors.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.IdentityError#
Bases:
ChainTransactionError
Error raised when an identity transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.InternalServerError(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the requested function fails on the server. Indicates a server error.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.InvalidRequestNameError#
Bases:
Exception
This exception is raised when the request name is invalid. Usually indicates a broken URL.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.MetadataError#
Bases:
ChainTransactionError
Error raised when metadata commitment transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.NominationError#
Bases:
ChainTransactionError
Error raised when a nomination transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.NotDelegateError#
Bases:
StakeError
Error raised when a hotkey you are trying to stake to is not a delegate.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.NotRegisteredError#
Bases:
ChainTransactionError
Error raised when a neuron is not registered, and the transaction requires it to be.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.NotVerifiedException(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the request is not verified.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.PostProcessException(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the response headers cannot be updated.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.PriorityException(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the request priority is not met.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.RegistrationError#
Bases:
ChainTransactionError
Error raised when a neuron registration transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.RunException(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the requested function cannot be executed. Indicates a server error.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.StakeError#
Bases:
ChainTransactionError
Error raised when a stake transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.SynapseDendriteNoneException(message='Synapse Dendrite is None', synapse=None)#
Bases:
SynapseException
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- message#
- exception bittensor.core.errors.SynapseException(message='Synapse Exception', synapse=None)#
Bases:
Exception
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- message#
- synapse#
- exception bittensor.core.errors.SynapseParsingError#
Bases:
Exception
This exception is raised when the request headers are unable to be parsed into the synapse type.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.TakeError#
Bases:
ChainTransactionError
Error raised when an increase / decrease take transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.TransferError#
Bases:
ChainTransactionError
Error raised when a transfer transaction fails.
Initialize self. See help(type(self)) for accurate signature.
- exception bittensor.core.errors.UnknownSynapseError(message='Synapse Exception', synapse=None)#
Bases:
SynapseException
This exception is raised when the request name is not found in the Axon’s forward_fns dictionary.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
synapse (bittensor.core.synapse.Synapse | None)
- exception bittensor.core.errors.UnstakeError#
Bases:
ChainTransactionError
Error raised when an unstake transaction fails.
Initialize self. See help(type(self)) for accurate signature.