pub type Error<DB> = EVMError<<DB as Database>::Error, InvalidTransaction>;
Expand description
Mainnet Error.
Aliased Type§
enum Error<DB> {
Transaction(InvalidTransaction),
Header(InvalidHeader),
Database(<DB as Database>::Error),
Custom(String),
Precompile(String),
}
Variants§
Transaction(InvalidTransaction)
Transaction validation error.
Header(InvalidHeader)
Header validation error.
Database(<DB 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.