use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize, thiserror::Error)] #[error("error from connection: {0}")] pub struct ConnectionError(pub String);