Enum ethcore::trace::TraceError
[−]
[src]
pub enum TraceError { OutOfGas, BadJumpDestination, BadInstruction, StackUnderflow, OutOfStack, Internal, }
Trace evm 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
Internal
Returned on evm internal error. Should never be ignored during development. Likely to cause consensus issues.
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl From<EvmError> for Error
[src]
impl Display for Error
[src]
impl Encodable for Error
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for Error
[src]
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes