Module: Net::HTTPExceptions

Included in:
HTTPError, HTTPFatalError, HTTPRetriableError, HTTPServerException
Defined in:
lib/extensions/net-http/net/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.



1922
1923
1924
# File 'lib/extensions/net-http/net/http.rb', line 1922

def response
  @response
end

Instance Method Details

#initialize(msg, res) ⇒ Object

:nodoc:



1918
1919
1920
1921
# File 'lib/extensions/net-http/net/http.rb', line 1918

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