Enum revm::ExitError [−][src]
pub enum ExitError {
Show 23 variants
StackUnderflow,
StackOverflow,
InvalidJump,
InvalidRange,
DesignatedInvalid,
CreateCollision,
CreateContractLimit,
CreateContractWithEF,
OutOfOffset,
OutOfGas,
OutOfFund,
GasPriceLessThenBasefee,
LackOfFundForGasLimit,
CallerGasLimitMoreThenBlock,
GasMaxFeeGreaterThanPriorityFee,
RejectCallerWithCode,
OverflowPayment,
PCUnderflow,
CreateEmpty,
OpcodeNotFound,
CallNotAllowedInsideStatic,
Other(Cow<'static, str>),
Precompile(PrecompileError),
}
Expand description
Exit error reason.
Variants
Trying to pop from an empty stack.
Trying to push into a stack over stack limit.
Jump destination is invalid.
An opcode accesses memory region, but the region is invalid.
Encountered the designated invalid opcode.
Create opcode encountered collision (runtime).
Create init code exceeds limit (runtime).
Create contract that begins with EF
An opcode accesses external information, but the request is off offset limit (runtime).
Execution runs out of gas (runtime).
Not enough fund to start the execution (runtime).
Effective gas price is less then basefee
Caller does not have enought funds to cover full spending of gas_limit
Caller gas_limit is greater then block gas limit
GasMaxFee greater than priority fee
EIP-3607: Reject transactions from senders with deployed code
gas_limit*effective gas oveflows
PC underflowed (unused).
Attempt to create an empty account (runtime, unused).
opcode not found,
calling CALL inside static call
Other normal errors.
Precompile(PrecompileError)
Tuple Fields of Precompile
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExitError
impl UnwindSafe for ExitError
Blanket Implementations
Mutably borrows from an owned value. Read more