use lampada::error::ConnectionError; use super::ClientLogic; pub async fn handle_connection_error(logic: ClientLogic, error: ConnectionError) { logic.handle_error(error.into()).await; }