Exception: SSHScan::Error::NoKexResponse
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SSHScan::Error::NoKexResponse
- Defined in:
- lib/ssh_scan/error/no_kex_response.rb
Overview
Failed to do key exchange.
Instance Method Summary collapse
-
#initialize(message) ⇒ NoKexResponse
constructor
A new instance of NoKexResponse.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ NoKexResponse
Returns a new instance of NoKexResponse.
5 6 7 |
# File 'lib/ssh_scan/error/no_kex_response.rb', line 5 def initialize() @message = end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/ssh_scan/error/no_kex_response.rb', line 8 def to_s "#{self.class.to_s.split('::')[-1]}: #{@message}" end |