Passing datas or errored XMLHTTPRequests to success and error events.