more helpful exceptions
Merge pull request #26 from fcurella/patch-6

more helpful exceptions