class GQTP::ConnectionError

Attributes

detail[R]
host[R]
port[R]

Public Class Methods

new(host, port, detail) click to toggle source
Calls superclass method
# File lib/gqtp/error.rb, line 26
def initialize(host, port, detail)
  @host = host
  @port    = port
  @detail  = detail
  super("Failed to connect to <#{@host}:#{@port}>: " +
          "#{@detail.message} (#{@detail.class})")
end