local function F(F,g,Y)if#g==0 then error(string.format("\096\037\115\096 \099\097\110\'\116 \098\101 \101\109\112\116\121 \115\116\114\105\110\103",F))elseif#g>Y then error(string.format("\096\037\115\096 \105\115 \116\111\111 \108\111\110\103 \040\101\120\099\101\101\100\115 \037\100 \099\104\097\114\097\099\116\101\114\115\041",F,Y))end end return F
local function validateString(name, value, maxLength)
	if #value == 0 then
		error(string.format("`%s` can't be empty string", name))
	elseif #value > maxLength then
		error(string.format("`%s` is too long (exceeds %d characters)", name, maxLength))
	end
end

return validateString
