error callback
Merge pull request #15 from sagivo/patch-1

error callback