Raise when it can’t acquire a connection for a given origin.
Attributes
origin | [R] |
Public Class methods
new(origin, timeout)
initializes the origin
it refers to, and the timeout
causing the error.
[show source]
# File lib/httpx/errors.rb 38 def initialize(origin, timeout) 39 @origin = origin 40 super(timeout, "Timed out after #{timeout} seconds while waiting for a connection to #{origin}") 41 end