MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / from

Method from

fendermint/eth/api/src/error.rs:21–27  ·  view source on GitHub ↗
(value: anyhow::Error)

Source from the content-addressed store, hash-verified

19
20impl From<anyhow::Error> for JsonRpcError {
21 fn from(value: anyhow::Error) -> Self {
22 Self {
23 code: 0,
24 message: format!("{:#}", value),
25 data: None,
26 }
27 }
28}
29
30impl From<tendermint_rpc::Error> for JsonRpcError {

Callers 1

runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected