function TestSession.setError(R,g)assert(#R.nodeStack>0,"\065\116\116\101\109\112\116\105\110\103 \116\111 \115\101\116 \101\114\114\111\114 \115\116\097\116\117\115 \111\110 \101\109\112\116\121 \115\116\097\099\107")local Z=R.nodeStack[#R.nodeStack]Z.status=TestEnum.TestStatus.Failure table.insert(Z.errors,g)end
--[[
	Set the current node's status to Failure and adds a message to its list of
	errors.
]]
function TestSession:setError(message)
	assert(#self.nodeStack > 0, "Attempting to set error status on empty stack")
	local last = self.nodeStack[#self.nodeStack]
	last.status = TestEnum.TestStatus.Failure
	table.insert(last.errors, message)
end
