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§const fn clone_from(&mut self, source: &Self)
const 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<TxExecutionError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TxExecutionError, <__D as Deserializer<'de>>::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) -> TxExecutionError
fn from(value: &TxExecutionError) -> TxExecutionError
Converts to this type from the input type.
Source§impl From<ActionError> for TxExecutionError
impl From<ActionError> for TxExecutionError
Source§fn from(value: ActionError) -> TxExecutionError
fn from(value: ActionError) -> TxExecutionError
Converts to this type from the input type.
Source§impl From<InvalidTxError> for TxExecutionError
impl From<InvalidTxError> for TxExecutionError
Source§fn from(value: InvalidTxError) -> TxExecutionError
fn from(value: InvalidTxError) -> TxExecutionError
Converts to this type from the input type.
Source§impl From<TxExecutionError> for ExecutionStatusView
impl From<TxExecutionError> for ExecutionStatusView
Source§fn from(value: TxExecutionError) -> ExecutionStatusView
fn from(value: TxExecutionError) -> ExecutionStatusView
Converts to this type from the input type.
Source§impl From<TxExecutionError> for FinalExecutionStatus
impl From<TxExecutionError> for FinalExecutionStatus
Source§fn from(value: TxExecutionError) -> FinalExecutionStatus
fn from(value: TxExecutionError) -> FinalExecutionStatus
Converts to this type from the input type.
Source§impl Serialize for TxExecutionError
impl Serialize for TxExecutionError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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