class GraphQL::StaticValidation::FragmentsAreNamedError

def code

def code
  "anonymousFragment"
end

def initialize(message, path: nil, nodes: [])

def initialize(message, path: nil, nodes: [])
  super(message, path: path, nodes: nodes)
end

def to_h

A hash representation of this Message
def to_h
  extensions = {
    "code" => code,
  }
  super.merge({
    "extensions" => extensions
  })
end