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.
25 26 27 28 |
# File 'lib/shopify_api/graphql/tiny.rb', line 25 def initialize(, response) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Hash of failed GraphQL response
23 24 25 |
# File 'lib/shopify_api/graphql/tiny.rb', line 23 def response @response end |