Rather than mysteriously failing, raise exceptions

Possibly with appropriately human readable message,
to let people know what is going on.
Merge pull request #11 from ltworf/raise_exceptions

Rather than mysteriously failing, raise exceptions