Exception: HTTPClient::KeepAliveDisconnected
- Inherits:
-
StandardError
- Object
- StandardError
- HTTPClient::KeepAliveDisconnected
- Defined in:
- lib/httpclient.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#sess ⇒ Object
readonly
Returns the value of attribute sess.
Instance Method Summary collapse
-
#initialize(sess = nil, cause = nil) ⇒ KeepAliveDisconnected
constructor
A new instance of KeepAliveDisconnected.
Constructor Details
#initialize(sess = nil, cause = nil) ⇒ KeepAliveDisconnected
Returns a new instance of KeepAliveDisconnected.
925 926 927 928 929 |
# File 'lib/httpclient.rb', line 925 def initialize(sess = nil, cause = nil) super("#{self.class.name}: #{cause ? cause.message : nil}") @sess = sess @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
924 925 926 |
# File 'lib/httpclient.rb', line 924 def cause @cause end |
#sess ⇒ Object (readonly)
Returns the value of attribute sess.
923 924 925 |
# File 'lib/httpclient.rb', line 923 def sess @sess end |