function t.numberConstrainedExclusive(q,U)assert(t.number(q)and t.number(U))local j=t.numberMinExclusive(q)local Z=t.numberMaxExclusive(U)return function(q)local U,K=j(q)if not U then return false,K or""end local m,H=Z(q)if not m then return false,H or""end return true end end
--[[**
	ensures value is a number where min < value < max

	@param min The minimum to use
	@param max The maximum to use

	@returns A function that will return true iff the condition is passed
**--]]
function t.numberConstrainedExclusive(min, max)
	assert(t.number(min) and t.number(max))
	local minCheck = t.numberMinExclusive(min)
	local maxCheck = t.numberMaxExclusive(max)

	return function(value)
		local minSuccess, minErrMsg = minCheck(value)
		if not minSuccess then
			return false, minErrMsg or ""
		end

		local maxSuccess, maxErrMsg = maxCheck(value)
		if not maxSuccess then
			return false, maxErrMsg or ""
		end

		return true
	end
end
