Enum sn_node::Error [−][src]
#[non_exhaustive] pub enum Error {}Show variants
NotAnAdult, NotAnElder, BalanceExists, NotEnoughSpace, NoSectionPublicKey, UnknownSectionKey(PublicKey), ProvidedPkIsNotBlsShare, ProvidedPkIsNotBls, NoSectionPublicKeySet, NoSectionPublicKeyKnown(XorName), InvalidRewardStage, NodeNotFoundForReward, NodeDoesNotHoldChunks, NoHoldersOfChunk, NoSuchChunk(DataAddress), NotChurningFunds, TempDirCreationFailed(String), NoStoreId, CouldNotCombineSignatures, DataExists, Io(Error), JsonSerialisation(Error), Bincode(Error), ClientMessage(Error), Message(Error), PickleDb(Error), NetworkData(Error), Transfer(Error), Routing(Error), Onboarding, TransferAlreadyRegistered, InvalidSignedTransfer(Dot<PublicKey>), InvalidPropagatedTransfer(CreditAgreementProof), InvalidMessage(MessageId, String), InvalidOwners(PublicKey), InvalidOperation(String), NoErrorMapping(String), Logic(String), Configuration(String),
Node error variants.
Variants (Non-exhaustive)
Attempted to perform an operation meant only for Adults when we are not one.
Attempted to perform an operation meant only for Elders when we are not one.
The key balance already exists when it was expected to be empty (during section genesis)
Not enough space in ChunkStore
to perform put
.
Not Section PublicKey.
UnknownSectionKey(PublicKey)
Unknown as a Section PublicKey.
Not a Section PublicKeyShare.
Not a Section PublicKey.
Not Section PublicKeySet.
NoSectionPublicKeyKnown(XorName)
Not Section PublicKey.
Unable to parse reward proposal.
Node not found for rewarding
Node not found in holders db.
No holders of chunk in metadata db.
NoSuchChunk(DataAddress)
Key, Value pair not found in ChunkStore
.
Unable to process fund churn message.
TempDirCreationFailed(String)
Creating temp directory failed.
Chunk Store Id could not be found
Threshold crypto combine signatures error
Chunk already exists for this node
Io(Error)
I/O error.
JsonSerialisation(Error)
JSON serialisation error.
Bincode(Error)
Bincode error.
ClientMessage(Error)
Network message error.
Message(Error)
Network message error.
PickleDb(Error)
PickleDb error.
NetworkData(Error)
NetworkData error.
Transfer(Error)
sn_transfers error.
Routing(Error)
Routing error.
Onboarding error
Transfer has already been registered
Transfer message is invalid.
InvalidPropagatedTransfer(CreditAgreementProof)
Transfer message is invalid.
Message is invalid.
InvalidOwners(PublicKey)
Data owner provided is invalid.
InvalidOperation(String)
Operation is invalid, eg signing validation
NoErrorMapping(String)
No mapping to sn_messages::Error could be found. Either we need a new error there, or we need to handle or convert this error before sending it as a message
Logic(String)
Logic error.
Configuration(String)
Configuration error.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> AsFail for T where
T: Fail,
impl<T> AsFail for T where
T: Fail,
pub fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,