Exception: ShopifyCLI::API::APIRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- ShopifyCLI::API::APIRequestError
- Defined in:
- lib/shopify_cli/api.rb
Direct Known Subclasses
APIRequestClientError, APIRequestNotFoundError, APIRequestRetriableError, APIRequestUnexpectedError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message = nil, response: nil) ⇒ APIRequestError
constructor
A new instance of APIRequestError.
Constructor Details
#initialize(message = nil, response: nil) ⇒ APIRequestError
Returns a new instance of APIRequestError.
16 17 18 19 |
# File 'lib/shopify_cli/api.rb', line 16 def initialize( = nil, response: nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
14 15 16 |
# File 'lib/shopify_cli/api.rb', line 14 def response @response end |