Throw an error if the parameter of requiresMeique isn't a string.