class NewRelic::Agent::HTTPClients::HTTPXErrorResponse
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.
Public Instance Methods
headers()
click to toggle source
# File lib/new_relic/agent/http_clients/httpx_wrappers.rb, line 16 def headers; {}; end
status()
click to toggle source
# File lib/new_relic/agent/http_clients/httpx_wrappers.rb, line 15 def status; end