pub enum ExitException {
}
Expand description
Exit error reason.
Variants§
StackUnderflow
Trying to pop from an empty stack.
StackOverflow
Trying to push into a stack over stack limit.
InvalidJump
Jump destination is invalid.
InvalidRange
An opcode accesses memory region, but the region is invalid.
DesignatedInvalid
Encountered the designated invalid opcode.
CallTooDeep
Call stack is too deep (runtime).
CreateCollision
Create opcode encountered collision (runtime).
CreateContractLimit
Create init code exceeds limit (runtime).
InvalidOpcode(Opcode)
Invalid opcode during execution or starting byte is 0xef (EIP-3541).
OutOfOffset
An opcode accesses external information, but the request is off offset limit (runtime).
OutOfGas
Execution runs out of gas (runtime).
OutOfFund
Not enough fund to start the execution (runtime).
PCUnderflow
PC underflowed (unused).
CreateEmpty
Attempt to create an empty account (runtime, unused).
MaxNonce
Nonce reached maximum value of 2^64-1 https://eips.ethereum.org/EIPS/eip-2681
NotEOA
Not EOA account called from transaction.
Other(Cow<'static, str>)
Other normal errors.
Trait Implementations§
Source§impl Clone for ExitException
impl Clone for ExitException
Source§fn clone(&self) -> ExitException
fn clone(&self) -> ExitException
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more