throw real errors

closes #2
Merge pull request #3 from stephenmathieson/throw-real-errors

throw real errors