Exception: GraphQL::Schema::InvalidTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- GraphQL::Schema::InvalidTypeError
- Defined in:
- lib/graphql/schema.rb
Instance Method Summary collapse
-
#initialize(type, errors) ⇒ InvalidTypeError
constructor
A new instance of InvalidTypeError.
Constructor Details
#initialize(type, errors) ⇒ InvalidTypeError
Returns a new instance of InvalidTypeError.
47 48 49 |
# File 'lib/graphql/schema.rb', line 47 def initialize(type, errors) super("Type #{type.respond_to?(:name) ? type.name : "Unnamed type" } is invalid: #{errors.join(", ")}") end |