Class: NewRelic::Agent::HTTPClients::HTTPXErrorResponse
- Inherits:
-
Object
- Object
- NewRelic::Agent::HTTPClients::HTTPXErrorResponse
- 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
#headers ⇒ Object
16 |
# File 'lib/new_relic/agent/http_clients/httpx_wrappers.rb', line 16 def headers; {}; end |
#status ⇒ Object
15 |
# File 'lib/new_relic/agent/http_clients/httpx_wrappers.rb', line 15 def status; end |