pub type EVMErrorWiring<EvmWiringT> = EVMError<<<EvmWiringT as EvmWiring>::Database as Database>::Error, <<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError>;
Aliased Type§
enum EVMErrorWiring<EvmWiringT> {
Transaction(<<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError),
Header(InvalidHeader),
Database(<<EvmWiringT as EvmWiring>::Database as Database>::Error),
Custom(String),
Precompile(String),
}
Variants§
Transaction(<<EvmWiringT as EvmWiring>::Transaction as Transaction>::TransactionError)
Transaction validation error.
Header(InvalidHeader)
Header validation error.
Database(<<EvmWiringT as EvmWiring>::Database as Database>::Error)
Database error.
Custom(String)
Custom error.
Useful for handler registers where custom logic would want to return their own custom error.
Precompile(String)
Precompile error.