Exception: GraphQL::ExposesClassMissingError

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

Overview

The class that this node is supposed to expose isn’t defined

Instance Method Summary collapse

Constructor Details

#initialize(node_class) ⇒ ExposesClassMissingError

Returns a new instance of ExposesClassMissingError.



74
75
76
# File 'lib/graphql.rb', line 74

def initialize(node_class)
  super("#{node_class.name} exposes #{node_class.exposes_class_names.join(", ")}, but that class wasn't found.")
end