pub enum AlgoKitTransactError {
EncodingError {
source: Error,
},
DecodingError {
source: Error,
},
MsgpackEncodingError {
source: Error,
},
MsgpackDecodingError {
source: Error,
},
UnknownTransactionType {
message: String,
},
InputError {
message: String,
},
InvalidAddress {
message: String,
},
InvalidMultisigSignature {
message: String,
},
}
Expand description
Represents errors that can occur during Algorand transaction operations.
This enum encompasses various failure scenarios that may arise when creating, manipulating, serializing, or deserializing Algorand transactions.
Variants§
EncodingError
Fields
§
source: Error
DecodingError
Fields
§
source: Error
MsgpackEncodingError
Fields
§
source: Error
MsgpackDecodingError
Fields
§
source: Error
UnknownTransactionType
InputError
InvalidAddress
InvalidMultisigSignature
Trait Implementations§
Source§impl Debug for AlgoKitTransactError
impl Debug for AlgoKitTransactError
Source§impl Display for AlgoKitTransactError
impl Display for AlgoKitTransactError
Source§impl Error for AlgoKitTransactError
impl Error for AlgoKitTransactError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for AlgoKitTransactError
impl ErrorCompat for AlgoKitTransactError
§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moreSource§impl From<Error> for AlgoKitTransactError
impl From<Error> for AlgoKitTransactError
Source§impl From<Error> for AlgoKitTransactError
impl From<Error> for AlgoKitTransactError
Source§impl From<ValueWriteError> for AlgoKitTransactError
impl From<ValueWriteError> for AlgoKitTransactError
Auto Trait Implementations§
impl Freeze for AlgoKitTransactError
impl !RefUnwindSafe for AlgoKitTransactError
impl Send for AlgoKitTransactError
impl Sync for AlgoKitTransactError
impl Unpin for AlgoKitTransactError
impl !UnwindSafe for AlgoKitTransactError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more