fix missing error import
Merge pull request #4 from jvantuyl/master

fix missing error import