MOBILE-3657 ws: Add throw on failed status helper function
MOBILE-3657 ws: Add throw on failed status helper function

reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile