Merge pull request #16 from ralucas/master

added error callback
Release v1.1.9