Sha256: 53266ba0611dc79b35600def72d3df8bebe0bcde4d026ac92f1389586b7d059d

Contents?: true

Size: 270 Bytes

Versions: 25

Compression:

Stored size: 270 Bytes

Contents

module SSHScan
  module Error
    # Failed to do key exchange.
    class NoKexResponse < RuntimeError
      def initialize(message)
        @message = message
      end
      def to_s
        "#{self.class.to_s.split('::')[-1]}: #{@message}"
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ssh_scan-0.0.25 lib/ssh_scan/error/no_kex_response.rb
ssh_scan-0.0.24 lib/ssh_scan/error/no_kex_response.rb
ssh_scan-0.0.23 lib/ssh_scan/error/no_kex_response.rb
ssh_scan-0.0.22 lib/ssh_scan/error/no_kex_response.rb
ssh_scan-0.0.21 lib/ssh_scan/error/no_kex_response.rb