Should raise ValueError with a reasonable error message.