On second thought, I think ValueError will suffice.