()
| 120 | } |
| 121 | |
| 122 | func (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 | |
| 129 | func (ce ConnectionError) Unwrap() error { |
| 130 | return ce.Err |
no outgoing calls
no test coverage detected