()
| 40 | // ============================================================================ |
| 41 | |
| 42 | fn channel_closed_error() -> ClientApiError { |
| 43 | ClientApiError::Network { |
| 44 | code: ErrorCode::ConnectionTimeout, |
| 45 | message: "Channel closed, node may be shutting down".to_string(), |
| 46 | retry_after_ms: None, |
| 47 | leader_hint: None, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | fn timeout_error(duration: Duration) -> ClientApiError { |
| 52 | ClientApiError::Network { |
no outgoing calls
no test coverage detected