pub enum SystemExecutionError {
Show 26 variants
ArithmeticError(ArithmeticError),
ViewError(ViewError),
InvalidNewChainId(ChainId),
InvalidNewChainAdminId(ChainId),
InvalidCommittees,
InvalidEpoch {
chain_id: ChainId,
epoch: Epoch,
},
IncorrectTransferAmount,
UnauthenticatedTransferOwner,
InsufficientFunding {
current_balance: Amount,
},
IncorrectClaimAmount,
UnauthenticatedClaimOwner,
AdminOperationOnNonAdminChain,
InvalidCommitteeCreation,
InvalidCommitteeRemoval,
InvalidAdminSubscription(ChainId, SystemChannel),
SelfSubscription(ChainId, SystemChannel),
NoSuchChannel(ChainId, SystemChannel),
InvalidUnsubscription(ChainId, SystemChannel),
AmountOverflow,
AmountUnderflow,
BalanceOverflow,
BalanceUnderflow,
CannotRewindEpoch,
TicksOutOfOrder,
UnknownBytecodeId(BytecodeId),
UnknownApplicationId(Box<UserApplicationId>),
}
Variants§
ArithmeticError(ArithmeticError)
ViewError(ViewError)
InvalidNewChainId(ChainId)
InvalidNewChainAdminId(ChainId)
InvalidCommittees
InvalidEpoch
IncorrectTransferAmount
UnauthenticatedTransferOwner
InsufficientFunding
IncorrectClaimAmount
UnauthenticatedClaimOwner
AdminOperationOnNonAdminChain
InvalidCommitteeCreation
InvalidCommitteeRemoval
InvalidAdminSubscription(ChainId, SystemChannel)
SelfSubscription(ChainId, SystemChannel)
NoSuchChannel(ChainId, SystemChannel)
InvalidUnsubscription(ChainId, SystemChannel)
AmountOverflow
AmountUnderflow
BalanceOverflow
BalanceUnderflow
CannotRewindEpoch
TicksOutOfOrder
UnknownBytecodeId(BytecodeId)
UnknownApplicationId(Box<UserApplicationId>)
Trait Implementations§
source§impl Debug for SystemExecutionError
impl Debug for SystemExecutionError
source§impl Display for SystemExecutionError
impl Display for SystemExecutionError
source§impl Error for SystemExecutionError
impl Error for SystemExecutionError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ArithmeticError> for SystemExecutionError
impl From<ArithmeticError> for SystemExecutionError
source§fn from(source: ArithmeticError) -> Self
fn from(source: ArithmeticError) -> Self
Converts to this type from the input type.
source§impl From<SystemExecutionError> for ExecutionError
impl From<SystemExecutionError> for ExecutionError
source§fn from(source: SystemExecutionError) -> Self
fn from(source: SystemExecutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SystemExecutionError
impl Send for SystemExecutionError
impl Sync for SystemExecutionError
impl Unpin for SystemExecutionError
impl !UnwindSafe for SystemExecutionError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref