Enum ethcore::trace::TraceError
[−]
[src]
pub enum TraceError { OutOfGas, BadJumpDestination, BadInstruction, StackUnderflow, OutOfStack, BuiltIn, Internal, MutableCallInStaticContext, Wasm, OutOfBounds, Reverted, }
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
BuiltIn
When builtin contract failed on input data
Internal
Returned on evm 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 Debug for Error
[src]
impl Debug for Error
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, __arg_0: &Error) -> bool
[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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'a> From<&'a VmError> for Error
[src]
impl<'a> From<&'a VmError> for Error
impl From<VmError> for Error
[src]
impl From<VmError> for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Encodable for Error
[src]
impl Encodable for Error
fn rlp_append(&self, s: &mut RlpStream)
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for Error
[src]
impl Decodable for Error
Auto Trait Implementations
impl Send for TraceError
impl Send for TraceError
impl Sync for TraceError
impl Sync for TraceError