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

Method fmt

fendermint/eth/api/src/error.rs:109–111  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

107
108impl std::fmt::Display for JsonRpcError {
109 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
110 write!(f, "{} (code: {})", self.message, self.code)
111 }
112}
113
114impl std::error::Error for JsonRpcError {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected