Module: Net::HTTPExceptions

Included in:
HTTPError, HTTPFatalError, HTTPRetriableError, HTTPServerException
Defined in:
lib/rubysl/net/http/http.rb

Overview

HTTP exception class. You must use its subclasses.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#responseObject (readonly) Also known as: data

Returns the value of attribute response.



1715
1716
1717
# File 'lib/rubysl/net/http/http.rb', line 1715

def response
  @response
end

Instance Method Details

#initialize(msg, res) ⇒ Object

:nodoc:



1711
1712
1713
1714
# File 'lib/rubysl/net/http/http.rb', line 1711

def initialize(msg, res)   #:nodoc:
  super msg
  @response = res
end