reth_node_core::rpc::result

Function internal_rpc_err_with_data

Source
pub fn internal_rpc_err_with_data(
    msg: impl Into<String>,
    data: &[u8],
) -> ErrorObject<'static>
Expand description

Constructs an internal JSON-RPC error with data