123456789_123456789_123456789_123456789_123456789_

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

Instance Attribute Details

#data (readonly)

This method is for internal use only.

Alias for #response.

[ GitHub ]

  
# 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