If each -node quadrature rule is exact through degree and has positive weights, then it converges on every continuous function. The Weierstrass approximation theorem reduces the error to the uniform polynomial-approximation error, while exactness on constants controls the sum of the weights.
Codex Wiki