Exception: GraphQL::RootCallArgumentError
- Defined in:
- lib/graphql.rb
Overview
This root call takes different arguments.
Instance Method Summary collapse
-
#initialize(declaration, actual) ⇒ RootCallArgumentError
constructor
A new instance of RootCallArgumentError.
Constructor Details
#initialize(declaration, actual) ⇒ RootCallArgumentError
Returns a new instance of RootCallArgumentError.
90 91 92 |
# File 'lib/graphql.rb', line 90 def initialize(declaration, actual) super("Wrong type for #{declaration.name}: expected a #{declaration.type} but got #{actual}") end |