Exception: Rex::HostUnreachable

Inherits:
ConnectionError show all
Defined in:
lib/rex/exceptions.rb

Overview

This exception is raised when a connection attempt fails because the remote side is unreachable.

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



201
202
203
# File 'lib/rex/exceptions.rb', line 201

def to_s
	"The host #{addr_to_s} was unreachable."
end