added better errors
Merge pull request #11 from dobrite/do/add-better-errors

added better errors