MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / requestError

Function requestError

code/songhop/www/lib/angular/angular.js:9752–9756  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9750 };
9751
9752 var requestError = function() {
9753 // The response is always empty
9754 // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error
9755 completeRequest(callback, -1, null, null, '');
9756 };
9757
9758 xhr.onerror = requestError;
9759 xhr.onabort = requestError;

Callers

nothing calls this directly

Calls 1

completeRequestFunction · 0.70

Tested by

no test coverage detected