(value: anyhow::Error)
| 19 | |
| 20 | impl 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 | |
| 30 | impl From<tendermint_rpc::Error> for JsonRpcError { |