userVisibleError is a wrapper around an error that implements SSHTerminationError, so msg is written to their session.
| 1632 | // userVisibleError is a wrapper around an error that implements |
| 1633 | // SSHTerminationError, so msg is written to their session. |
| 1634 | type userVisibleError struct { |
| 1635 | msg string |
| 1636 | error |
| 1637 | } |
| 1638 | |
| 1639 | func (ue userVisibleError) SSHTerminationMessage() string { return ue.msg } |
| 1640 |
nothing calls this directly
no outgoing calls
no test coverage detected