class Http::Exceptions::HttpException
Attributes
original_exception[R]
response[R]
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/http/exceptions/http_exception.rb, line 6 def initialize(options = {}) @original_exception = options[:original_exception] @response = options[:response] msg = "An error as occured while processing response." msg += " Status #{response.code}\n#{response.body}" if response msg += " Original Exception: #{original_exception}" if original_exception super msg end