Module: GraphQL::Schema::DefaultParseError

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

Class Method Summary collapse

Class Method Details

.call(parse_error, ctx) ⇒ Object



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