Exception: ShopifyAPI::Errors::HttpResponseError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/shopify_api/errors/http_response_error.rb

Direct Known Subclasses

MaxHttpRetriesExceededError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code:) ⇒ HttpResponseError

Returns a new instance of HttpResponseError.



13
14
15
16
# File 'lib/shopify_api/errors/http_response_error.rb', line 13

def initialize(code:)
  super
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



10
11
12
# File 'lib/shopify_api/errors/http_response_error.rb', line 10

def code
  @code
end