Update error handling with typo fix
Merge pull request #22 from andrewlyross/patch-1

Update error handling with typo fix