Exception: GraphQL::ConnectionNotDefinedError

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

Overview

This node doesn’t have a connection with that name.

Instance Method Summary collapse

Constructor Details

#initialize(node_name) ⇒ ConnectionNotDefinedError

Returns a new instance of ConnectionNotDefinedError.



71
72
73
# File 'lib/graphql.rb', line 71

def initialize(node_name)
  super("#{node_name} was requested but was not found. Defined connections are: #{SCHEMA.connection_names}")
end