pub enum TxExecutionError {
ActionError(ActionError),
InvalidTxError(InvalidTxError),
}
Expand description
Error returned in the ExecutionOutcome in case of failure
JSON schema
{
"description": "Error returned in the ExecutionOutcome in case of failure",
"oneOf": [
{
"description": "An error happened during Action execution",
"type": "object",
"required": [
"ActionError"
],
"properties": {
"ActionError": {
"$ref": "#/components/schemas/ActionError"
}
},
"additionalProperties": false
},
{
"description": "An error happened during Transaction execution",
"type": "object",
"required": [
"InvalidTxError"
],
"properties": {
"InvalidTxError": {
"$ref": "#/components/schemas/InvalidTxError"
}
},
"additionalProperties": false
}
]
}
Variants§
ActionError(ActionError)
An error happened during Action execution
InvalidTxError(InvalidTxError)
An error happened during Transaction execution
Trait Implementations§
Source§impl Clone for TxExecutionError
impl Clone for TxExecutionError
Source§fn clone(&self) -> TxExecutionError
fn clone(&self) -> TxExecutionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TxExecutionError
impl Debug for TxExecutionError
Source§impl<'de> Deserialize<'de> for TxExecutionError
impl<'de> Deserialize<'de> for TxExecutionError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TxExecutionError> for TxExecutionError
impl From<&TxExecutionError> for TxExecutionError
Source§fn from(value: &TxExecutionError) -> Self
fn from(value: &TxExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<ActionError> for TxExecutionError
impl From<ActionError> for TxExecutionError
Source§fn from(value: ActionError) -> Self
fn from(value: ActionError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidTxError> for TxExecutionError
impl From<InvalidTxError> for TxExecutionError
Source§fn from(value: InvalidTxError) -> Self
fn from(value: InvalidTxError) -> Self
Converts to this type from the input type.
Source§impl From<TxExecutionError> for ExecutionStatusView
impl From<TxExecutionError> for ExecutionStatusView
Source§fn from(value: TxExecutionError) -> Self
fn from(value: TxExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<TxExecutionError> for FinalExecutionStatus
impl From<TxExecutionError> for FinalExecutionStatus
Source§fn from(value: TxExecutionError) -> Self
fn from(value: TxExecutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TxExecutionError
impl RefUnwindSafe for TxExecutionError
impl Send for TxExecutionError
impl Sync for TxExecutionError
impl Unpin for TxExecutionError
impl UnwindSafe for TxExecutionError
Blanket Implementations§
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