Exception: GoApiClient::HttpFetcher::HttpError
- Inherits:
-
ConnectionError
- Object
- StandardError
- ConnectionError
- GoApiClient::HttpFetcher::HttpError
- Defined in:
- lib/go_api_client/http_fetcher.rb
Instance Attribute Summary collapse
-
#http_code ⇒ Object
readonly
Returns the value of attribute http_code.
Instance Method Summary collapse
-
#initialize(msg, http_code) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(msg, http_code) ⇒ HttpError
Returns a new instance of HttpError.
14 15 16 17 |
# File 'lib/go_api_client/http_fetcher.rb', line 14 def initialize(msg, http_code) super(msg) @http_code = http_code end |
Instance Attribute Details
#http_code ⇒ Object (readonly)
Returns the value of attribute http_code.
12 13 14 |
# File 'lib/go_api_client/http_fetcher.rb', line 12 def http_code @http_code end |