Method: GraphQL::Schema#type_error=

Defined in:
lib/graphql/schema.rb

#type_error=(new_proc) ⇒ Object

Parameters:

  • new_proc (#call)

    A new callable for handling type errors during execution

[View source]

464
465
466
# File 'lib/graphql/schema.rb', line 464

def type_error=(new_proc)
  @type_error_proc = new_proc
end