Create callback error handling
Merge pull request #10 from Miformat/2014

Create callback error handling