class Rex::AddressInUse

This exception is listed for backwards compatibility. We had been using AddressInUse as the exception for both bind errors and connection errors triggered by connection attempts to broadcast and network addresses. The two classes above have split this into their respective sources, but callers may still expect the old behavior.

Public Instance Methods

to_s() click to toggle source
# File lib/rex/exceptions.rb, line 260
def to_s
  "The address is already in use or unavailable: #{addr_to_s}."
end