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