Exception: Anvil::GraphQLError
- Defined in:
- lib/anvil/errors.rb
Overview
GraphQL errors
Instance Attribute Summary collapse
-
#graphql_errors ⇒ Object
readonly
Returns the value of attribute graphql_errors.
Attributes inherited from APIError
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, response = nil, graphql_errors: []) ⇒ GraphQLError
constructor
A new instance of GraphQLError.
Constructor Details
#initialize(message, response = nil, graphql_errors: []) ⇒ GraphQLError
Returns a new instance of GraphQLError.
86 87 88 89 |
# File 'lib/anvil/errors.rb', line 86 def initialize(, response = nil, graphql_errors: []) @graphql_errors = graphql_errors super(, response) end |
Instance Attribute Details
#graphql_errors ⇒ Object (readonly)
Returns the value of attribute graphql_errors.
84 85 86 |
# File 'lib/anvil/errors.rb', line 84 def graphql_errors @graphql_errors end |