Module: Net::HTTPExceptions
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/net/http/exceptions.rb |
Overview
HTTP exception class. You cannot use HTTPExceptions
directly; instead, you must use its subclasses.
Instance Attribute Summary
Instance Method Summary
- #initialize(msg, res) Internal use only
Instance Attribute Details
#data (readonly)
This method is for internal use only.
Alias for #response.
# File 'lib/net/http/exceptions.rb', line 11
alias data response #:nodoc: obsolete
#response (readonly) Also known as: #data
[ GitHub ]# File 'lib/net/http/exceptions.rb', line 10
attr_reader :response
Instance Method Details
#initialize(msg, res)
This method is for internal use only.
[ GitHub ]
# File 'lib/net/http/exceptions.rb', line 6
def initialize(msg, res) #:nodoc: super msg @response = res end