custom global xhr request error callback
Merge pull request #32 from RoboSparrow/features

custom global xhr request error callback