Enum common_types::errors::ExecutionError [−][src]
Error type for executing a transaction.
Variants
Returned when there gas paid for transaction execution is lower than base gas required.
Returned when block (gas_used + gas) > gas_limit.
If gas =< gas_limit, upstream may try to execute the transaction in next block.
Fields of BlockGasLimitReached
Returned when transaction nonce does not match state nonce.
Returned when cost of transaction (value + gas_price * gas) exceeds current sender balance.
When execution tries to modify the state in static context
Returned when transacting from a non-existing account with dust protection enabled.
Internal(String)
Returned when internal vvm error occurs.
TransactionMalformed(String)
Returned when generic transaction occurs
Trait Implementations
impl Clone for ExecutionError
[src]
fn clone(&self) -> ExecutionError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExecutionError
[src]
impl Display for ExecutionError
[src]
impl Error for ExecutionError
[src]
fn description(&self) -> &str
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Box<TrieError<H256, DecoderError>, Global>> for ExecutionError
[src]
impl From<ExecutionError> for VapcoreError
[src]
fn from(original: ExecutionError) -> VapcoreError
[src]
impl From<ExecutionError> for CallError
[src]
fn from(error: ExecutionError) -> Self
[src]
impl From<TrieError<H256, DecoderError>> for ExecutionError
[src]
impl PartialEq<ExecutionError> for ExecutionError
[src]
fn eq(&self, other: &ExecutionError) -> bool
[src]
fn ne(&self, other: &ExecutionError) -> bool
[src]
impl StructuralPartialEq for ExecutionError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnwindSafe for ExecutionError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,