Exception: GraphQL::Schema::InvalidTypeError
- Defined in:
- lib/graphql/schema.rb
Instance Method Summary collapse
-
#initialize(type, name) ⇒ InvalidTypeError
constructor
A new instance of InvalidTypeError.
Constructor Details
#initialize(type, name) ⇒ InvalidTypeError
Returns a new instance of InvalidTypeError.
87 88 89 |
# File 'lib/graphql/schema.rb', line 87 def initialize(type, name) super("#{name} has an invalid type: must be an instance of GraphQL::BaseType, not #{type.class.inspect} (#{type.inspect})") end |