Class: ShopifyAPI::GraphQL::Tiny::GraphQLError
- Defined in:
- lib/shopify_api/graphql/tiny.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Hash of failed GraphQL response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ GraphQLError
constructor
A new instance of GraphQLError.
Constructor Details
#initialize(message, response) ⇒ GraphQLError
Returns a new instance of GraphQLError.
21 22 23 24 |
# File 'lib/shopify_api/graphql/tiny.rb', line 21 def initialize(, response) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Hash of failed GraphQL response
19 20 21 |
# File 'lib/shopify_api/graphql/tiny.rb', line 19 def response @response end |