MCPcopy
hub / github.com/wavetermdev/waveterm / Error

Method Error

pkg/remote/sshclient.go:122–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122func (ce ConnectionError) Error() string {
123 if ce.CurrentClient == nil {
124 return fmt.Sprintf("Connecting to %s, Error: %v", ce.NextOpts, ce.Err)
125 }
126 return fmt.Sprintf("Connecting from %v to %s (jump number %d), Error: %v", ce.CurrentClient, ce.NextOpts, ce.JumpNum, ce.Err)
127}
128
129func (ce ConnectionError) Unwrap() error {
130 return ce.Err

Callers 7

ErrorMethod · 0.45
ClassifyConnErrorFunction · 0.45
ClassifyDialErrorSubCodeFunction · 0.45
ConnectMethod · 0.45
waitForDisconnectMethod · 0.45
SetWshErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected