Trait reth_rpc_eth_api::helpers::error::FromEvmError
source · pub trait FromEvmError: From<EthApiError> {
// Required method
fn from_evm_err<E>(err: EVMError<E>) -> Self
where EthApiError: From<E>;
}
Expand description
Helper trait to convert from revm errors.
Required Methods§
sourcefn from_evm_err<E>(err: EVMError<E>) -> Selfwhere
EthApiError: From<E>,
fn from_evm_err<E>(err: EVMError<E>) -> Selfwhere
EthApiError: From<E>,
Converts from a revm error.
Object Safety§
This trait is not object safe.