Changed to ValueError.