()
| 36 | } |
| 37 | |
| 38 | func (sc *errClosedSession) Error() string { |
| 39 | if sc.byRemote { |
| 40 | return fmt.Sprintf("session closed by remote due to %s", sc.message) |
| 41 | } else { |
| 42 | return fmt.Sprintf("session closed by local due to %s", sc.message) |
| 43 | } |
| 44 | } |
no outgoing calls