class GraphQL::Query::OperationNameMissingError
Public Class Methods
new(name)
click to toggle source
Calls superclass method
GraphQL::ExecutionError::new
# File lib/graphql/query.rb, line 23 def initialize(name) msg = if name.nil? %|An operation name is required| else %|No operation named "#{name}"| end super(msg) end