[−][src]Enum ethereumvm::errors::OnChainError
Errors that can be written on chain.
Variants
StackOverflow
Stack is overflowed (pushed more than 1024 items to the stack).
StackUnderflow
Stack is underflowed (poped an empty stack).
InvalidOpcode
The opcode is invalid and the PC is not able to convert it to an instruction.
BadJumpDest
PC jumped to an invalid jump destination.
PCOverflow
PC overflowed (tries to read the next opcode which is already the end of the code). In Yellow Paper, this is categorized the same as InvalidOpcode.
EmptyGas
Not enough gas to continue.
InvalidRange
For instruction that requires reading a range, it is invalid. This in the Yellow Paper is covered by EmptyGas.
NotStatic
In static context but does mutation.
Revert
Invoked by REVERT opcode.
Trait Implementations
impl PartialEq<OnChainError> for OnChainError
[src]
fn eq(&self, other: &OnChainError) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl From<OnChainError> for RuntimeError
[src]
fn from(val: OnChainError) -> RuntimeError
[src]
impl From<OnChainError> for EvalOnChainError
[src]
fn from(val: OnChainError) -> EvalOnChainError
[src]
impl From<OnChainError> for EvalError
[src]
fn from(val: OnChainError) -> EvalError
[src]
impl Clone for OnChainError
[src]
fn clone(&self) -> OnChainError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for OnChainError
[src]
Auto Trait Implementations
impl Send for OnChainError
impl Unpin for OnChainError
impl Sync for OnChainError
impl UnwindSafe for OnChainError
impl RefUnwindSafe for OnChainError
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &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, 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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self