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