Getting rid of a string literal in favor of the generalized diagnostic.