Enum vapcore_trace::TraceError[][src]

pub enum TraceError {
    OutOfGas,
    BadJumpDestination,
    BadInstruction,
    StackUnderflow,
    OutOfStack,
    BuiltIn,
    Internal,
    MutableCallInStaticContext,
    Wasm,
    OutOfBounds,
    Reverted,
}

Trace vvm errors.

Variants

OutOfGas

OutOfGas is returned when transaction execution runs out of gas.

BadJumpDestination

BadJumpDestination is returned when execution tried to move to position that wasn’t marked with JUMPDEST instruction

BadInstruction

BadInstructions is returned when given instruction is not supported

StackUnderflow

StackUnderflow when there is not enough stack elements to execute instruction

OutOfStack

When execution would exceed defined Stack Limit

BuiltIn

When builtin contract failed on input data

Internal

Returned on vvm internal error. Should never be ignored during development. Likely to cause consensus issues.

MutableCallInStaticContext

When execution tries to modify the state in static context

Wasm

Wasm error

OutOfBounds

Contract tried to access past the return data buffer.

Reverted

Execution has been reverted with REVERT instruction.

Trait Implementations

impl Clone for Error[src]

impl Debug for Error[src]

impl Decodable for Error[src]

impl Display for Error[src]

impl Encodable for Error[src]

impl<'a> From<&'a Error> for Error[src]

impl From<Error> for Error[src]

impl PartialEq<Error> for Error[src]

impl StructuralPartialEq for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,