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