Exception: GraphQL::Query::VariableMissingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/graphql/query.rb

Instance Method Summary collapse

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