Exception: GraphQL::Schema::Visibility::TypeConfigurationError

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

Instance Method Summary collapse

Constructor Details

#initialize(config_message, config_str) ⇒ TypeConfigurationError

Returns a new instance of TypeConfigurationError.



12
13
14
15
# File 'lib/graphql/schema/visibility.rb', line 12

def initialize(config_message, config_str)
  message = "GraphQL::Schema::Visibility already preloaded, but #{config_message} added to the schema. Move this `#{config_str}` configuration above `use(GraphQL::Schema::Visibility)"
  super(message)
end