Exception: HTTPClient::KeepAliveDisconnected

Inherits:
StandardError
  • Object
show all
Defined in:
lib/httpclient.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sess = nil, cause = nil) ⇒ KeepAliveDisconnected

Returns a new instance of KeepAliveDisconnected.



935
936
937
938
939
# File 'lib/httpclient.rb', line 935

def initialize(sess = nil, cause = nil)
  super("#{self.class.name}: #{cause ? cause.message : nil}")
  @sess = sess
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



934
935
936
# File 'lib/httpclient.rb', line 934

def cause
  @cause
end

#sessObject (readonly)

Returns the value of attribute sess.



933
934
935
# File 'lib/httpclient.rb', line 933

def sess
  @sess
end