[−][src]Enum sn_transfers::Error
SafeNetwork Transfers error type
Variants (Non-exhaustive)
Missing sender actor
Missing recipient
Missing Replica Group
Sender and receiver are the same
A debit is awaiting completion. A new debit cannot be started.
The provided PublicKey does not correlate with any key in the section chain history.
The proposed debit has already been seen, or is not the next expected debit
Credit Id and debit Id do not match
Credit and debits do not have the same value
This is not the correct actor to validate
No pending transfer could be found awaiting accumulation
Validation is not for this actor
Transer is not for this actor
Proposed operation is not the next in sequence. The debit op should be current actor count + 1
This account has not seen any debits yet. Sent debit should be 0 but was not.
No credits or debits were found to sync
0-value transfers are invalid
The validation has already been received
Debit is not from this wallet
Credit is not from this wallet
Subtracting this transfer would cause an overlow
Adding this transfer would cause an overflow
Unexpected outcome
WalletNotFound(Debit)
Wallet not found
Signature shares are insufficient for BLS aggregation
Signature is not valid
Operation is not valid
Insufficient coins.
Inexistent sender balance.
Inexistent recipient balance. Currently only thrown during network genesis
Coin balance already exists.
NetworkDataError(DtError)
Other sn_data_types errors
Serialisation(String)
Serialisation
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl UnwindSafe for Error
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
T: Fail,
pub fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
pub fn name(&self) -> Option<&str>
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
pub fn backtrace(&self) -> Option<&Backtrace>
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,