pub enum TransactionError {
Show 13 variants
InvalidSenderInMultisig,
InvalidSecretKeyInMultisig,
InsufficientTransactions,
InvalidNumberOfSubsignatures,
InvalidPublicKeyInMultisig,
MismatchingSignatures,
EmptyTransactionListError,
MaxTransactionGroupSizeError {
size: usize,
},
RmpSerdeError(Error),
MnemonicError(CryptoError),
Deserialization(String),
NoAccountsToSign,
Msg(String),
}
Variants
InvalidSenderInMultisig
InvalidSecretKeyInMultisig
InsufficientTransactions
InvalidNumberOfSubsignatures
InvalidPublicKeyInMultisig
MismatchingSignatures
EmptyTransactionListError
MaxTransactionGroupSizeError
Fields
size: usize
RmpSerdeError(Error)
MnemonicError(CryptoError)
Deserialization(String)
NoAccountsToSign
Msg(String)
Trait Implementations
sourceimpl Debug for TransactionError
impl Debug for TransactionError
sourceimpl Display for TransactionError
impl Display for TransactionError
sourceimpl Error for TransactionError
impl Error for TransactionError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<CryptoError> for TransactionError
impl From<CryptoError> for TransactionError
sourcefn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for TransactionError
impl Send for TransactionError
impl Sync for TransactionError
impl Unpin for TransactionError
impl !UnwindSafe for TransactionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more