Exception: Rex::InvalidDestination

Inherits:
ConnectionError show all
Includes:
HostCommunicationError, SocketError
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

#host, #port

Instance Method Summary collapse

Methods included from HostCommunicationError

#addr_to_s, #initialize

Instance Method Details

#to_sObject


226
227
228
# File 'lib/rex/exceptions.rb', line 226

def to_s
  "The destination is invalid: #{addr_to_s}."
end