function TestSession.gatherErrors(Y)local Q=Y.results Q.errors={}Q:visitAllNodes(function(Y)if#Y.errors>0 then for a,J in ipairs(Y.errors)do table.insert(Q.errors,{message=J,phrase=Y.planNode.phrase})end end end)end

function TestSession:gatherErrors()
	local results = self.results

	results.errors = {}

	results:visitAllNodes(function(node)
		if #node.errors > 0 then
			for _, message in ipairs(node.errors) do
				table.insert(results.errors, {
					message = message,
					phrase = node.planNode.phrase,
				})
			end
		end
	end)
end
