Exception: AtprotoAuth::HttpClient::HttpError
- Defined in:
- lib/atproto_auth/http_client.rb
Overview
Error raised when an HTTP request fails
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(message, response) ⇒ HttpError
Returns a new instance of HttpError.
34 35 36 37 |
# File 'lib/atproto_auth/http_client.rb', line 34 def initialize(, response) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
32 33 34 |
# File 'lib/atproto_auth/http_client.rb', line 32 def response @response end |