Module error

Source
Expand description

Implementation specific Errors for the eth_ namespace.

Re-exports§

pub use api::AsEthApiError;
pub use api::FromEthApiError;
pub use api::FromEvmError;
pub use api::IntoEthApiError;

Modules§

api
Helper traits to wrap generic l1 errors, in network specific error type configured in reth_rpc_eth_api::EthApiTypes.

Structs§

RevertError
Represents a reverted transaction and its output data.

Enums§

EthApiError
Errors that can occur when interacting with the eth_ namespace
RpcInvalidTransactionError
An error due to invalid transaction.
RpcPoolError
A helper error type that’s mainly used to mirror geth Txpool’s error messages
SignError
Errors returned from a sign request.

Traits§

ToRpcError
A trait to convert an error to an RPC error.

Functions§

ensure_success
Converts the evm [ExecutionResult] into a result where Ok variant is the output bytes if it is [ExecutionResult::Success].

Type Aliases§

EthResult
Result alias