class Net::HTTP::Pipeline::ResponseError
Raised if an error occurs while reading responses.
Attributes
original[RW]
The original exception
Public Class Methods
new(exception, requests, responses)
click to toggle source
Creates a new ResponseError with an
original exception
, a list of requests
that were
in-flight and a list of responses
that have been retrieved
from the server.
Calls superclass method
Net::HTTP::Pipeline::Error.new
# File lib/net/http/pipeline.rb, line 124 def initialize exception, requests, responses @original = exception message = "error handling responses: #{original} (#{original.class})" super message, requests, responses end