error iff the names are not a dimension in the cube provided
validateNamesInDims(names, cube, what = "transforms")
the names to check for in the cube
a CrunchCube object to check
a character describing what is being checked (default: transforms ) to include in the error to make it easier for users to see what is failing.