module GraphQL::Schema::Member::HasUnresolvedTypeError

Set up a type-specific error to make debugging & bug tracker integration better

Private Instance Methods

add_unresolved_type_error(child_class) click to toggle source
# File lib/graphql/schema/member/has_unresolved_type_error.rb, line 9
def add_unresolved_type_error(child_class)
  child_class.const_set(:UnresolvedTypeError, Class.new(GraphQL::UnresolvedTypeError))
end