MCPcopy Create free account
hub / github.com/deventlab/d-engine / channel_closed_error

Function channel_closed_error

d-engine-server/src/api/embedded_client.rs:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40// ============================================================================
41
42fn 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
51fn timeout_error(duration: Duration) -> ClientApiError {
52 ClientApiError::Network {

Callers 8

putMethod · 0.85
get_with_consistencyMethod · 0.85
deleteMethod · 0.85
scan_prefixMethod · 0.85
put_with_ttlMethod · 0.85
compare_and_swapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected