Exception: Rex::ConnectionTimeout
- Inherits:
-
ConnectionError
- Object
- IOError
- ConnectionError
- Rex::ConnectionTimeout
- Defined in:
- lib/rex/exceptions.rb
Overview
This exception is raised when a connection attempt times out.
Instance Attribute Summary
Attributes included from HostCommunicationError
Instance Method Summary collapse
Methods included from HostCommunicationError
Instance Method Details
#to_s ⇒ Object
222 223 224 225 226 |
# File 'lib/rex/exceptions.rb', line 222 def to_s str = "The connection with #{addr_to_s} timed out." str << " #{@reason}" unless @reason.nil? str end |