Trait reth_node_core::rpc::eth::helpers::error::FromEthApiError
pub trait FromEthApiError: From<EthApiError> {
// Required method
fn from_eth_err<E>(err: E) -> Self
where EthApiError: From<E>;
}
Expand description
Helper trait to wrap core EthApiError
.
Required Methods§
fn from_eth_err<E>(err: E) -> Selfwhere
EthApiError: From<E>,
fn from_eth_err<E>(err: E) -> Selfwhere
EthApiError: From<E>,
Converts from error via EthApiError
.
Object Safety§
This trait is not object safe.