mozilla/ssh_scan

View on GitHub
lib/ssh_scan/error/closed_connection.rb

Summary

Maintainability
A
0 mins
Test Coverage
module SSHScan
  module Error
    # Connection closed from the other side.
    class ClosedConnection < RuntimeError
      def to_s
        "#{self.class.to_s.split('::')[-1]}"
      end
    end
  end
end