Exception: Rex::InvalidDestination
- Inherits:
-
ConnectionError
- Object
- IOError
- ConnectionError
- Rex::InvalidDestination
- Defined in:
- lib/rex/exceptions.rb
Overview
This connection error is raised when an attempt is made to connect to a broadcast or network address.
Instance Attribute Summary
Attributes included from HostCommunicationError
Instance Method Summary collapse
Methods included from HostCommunicationError
Instance Method Details
#to_s ⇒ Object
236 237 238 239 240 |
# File 'lib/rex/exceptions.rb', line 236 def to_s str = "The destination is invalid: #{addr_to_s}." str << " #{@reason}" unless @reason.nil? str end |