MCPcopy Create free account
hub / github.com/cgrates/fsock / handleConnectionError

Method handleConnectionError

fsock.go:111–135  ·  view source on GitHub ↗

handleConnectionError listens for connection errors and decides whether to attempt a reconnection. It logs errors and manages the stopError channel signaling based on the encountered error.

(connErr chan error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

connectMethod · 0.95

Calls 5

signalErrorMethod · 0.95
disconnectMethod · 0.95
reconnectIfNeededMethod · 0.95
ErrMethod · 0.65
WarningMethod · 0.65

Tested by

no test coverage detected