class HTTP::WebMockPerform

def raise_timeout_error

def raise_timeout_error
  raise Errno::ETIMEDOUT if HTTP::VERSION < "1.0.0"
  raise HTTP::TimeoutError, "connection error: #{Errno::ETIMEDOUT.new}"
end