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 45 def initialize(request, response, timeout) 46 @request = request 47 @response = response 48 super(timeout, "Timed out after #{timeout} seconds") 49 end