Error
raised when there was a timeout while sending a request, or receiving a response from the server.
Attributes
request | [R] |
The |
Public Class methods
new(request, response, timeout)
initializes the exception with the request
and response
it refers to, and the timeout
causing the error, and the
[show source]
# File lib/httpx/errors.rb 57 def initialize(request, response, timeout) 58 @request = request 59 @response = response 60 super(timeout, "Timed out after #{timeout} seconds") 61 end