Module error

Available on crate feature rpc only.
Expand description

Implementation specific Errors for the eth_ namespace.

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§

AsEthApiError
Helper trait to access wrapped core error.
FromEthApiError
Helper trait to wrap core EthApiError.
FromEvmError
Helper trait to convert from revm errors.
IntoEthApiError
Helper trait to wrap core EthApiError.
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