Exception: GraphQL::Query::VariableMissingError
- Inherits:
-
StandardError
- Object
- StandardError
- GraphQL::Query::VariableMissingError
- Defined in:
- lib/graphql/query.rb
Instance Method Summary collapse
-
#initialize(name, type) ⇒ VariableMissingError
constructor
A new instance of VariableMissingError.
Constructor Details
#initialize(name, type) ⇒ VariableMissingError
Returns a new instance of VariableMissingError.
10 11 12 13 |
# File 'lib/graphql/query.rb', line 10 def initialize(name, type) msg = "Variable #{name} of type #{type} can't be null" super(msg) end |