Module: GraphQL::Schema::DefaultParseError Private

Defined in:
lib/graphql/schema/default_parse_error.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.call(parse_error, ctx) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



5
6
7
# File 'lib/graphql/schema/default_parse_error.rb', line 5

def self.call(parse_error, ctx)
  ctx.errors.push(parse_error)
end