MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / JsonRpcError

Class JsonRpcError

fendermint/eth/api/src/error.rs:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13#[derive(Debug, Clone)]
14pub struct JsonRpcError {
15 pub code: i64,
16 pub message: String,
17 pub data: Option<serde_json::Value>,
18}
19
20impl From<anyhow::Error> for JsonRpcError {
21 fn from(value: anyhow::Error) -> Self {

Callers 1

handle_json_rpc_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected