Exception: GraphQL::Query::OperationNameMissingError

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

Instance Method Summary collapse

Constructor Details

#initialize(names) ⇒ OperationNameMissingError

Returns a new instance of OperationNameMissingError.



3
4
5
6
# File 'lib/graphql/query.rb', line 3

def initialize(names)
  msg = "You must provide an operation name from: #{names.join(", ")}"
  super(msg)
end