Method: Net::HTTP::Pipeline::ResponseError#initialize
- Defined in:
- lib/net/http/pipeline.rb
#initialize(exception, requests, responses) ⇒ ResponseError
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.
124 125 126 127 128 |
# File 'lib/net/http/pipeline.rb', line 124 def initialize exception, requests, responses @original = exception = "error handling responses: #{original} (#{original.class})" super , requests, responses end |