added error handlers
Merge pull request #72 from mjhea0/develop

added error handlers