class GraphQL::StaticValidation::ArgumentsAreDefinedError
def code
def code "argumentNotAccepted" end
def initialize(message, path: nil, nodes: [], name:, type:, argument_name:, parent:)
def initialize(message, path: nil, nodes: [], name:, type:, argument_name:, parent:) super(message, path: path, nodes: nodes) @name = name @type_name = type @argument_name = argument_name @parent = parent end
def to_h
def to_h extensions = { "code" => code, "name" => name, "typeName" => type_name, "argumentName" => argument_name } super.merge({ "extensions" => extensions }) end