Class: NewRelic::Agent::HTTPClients::HTTPXErrorResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/new_relic/agent/http_clients/httpx_wrappers.rb

Overview

HTTPX returns an instance of HTTPX::ErrorResponse on error, and that instance itself yields the underlying HTTP response object via #response, but depending on the error that HTTP response object could be unset.

Instance Method Summary collapse

Instance Method Details

#headersObject



16
# File 'lib/new_relic/agent/http_clients/httpx_wrappers.rb', line 16

def headers; {}; end

#statusObject



15
# File 'lib/new_relic/agent/http_clients/httpx_wrappers.rb', line 15

def status; end