MCPcopy Index your code
hub / github.com/angular-ui/ui-router / requestError

Function requestError

test/angular/1.5/angular.js:12226–12230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12224 };
12225
12226 var requestError = function() {
12227 // The response is always empty
12228 // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error
12229 completeRequest(callback, -1, null, null, '');
12230 };
12231
12232 xhr.onerror = requestError;
12233 xhr.onabort = requestError;

Callers

nothing calls this directly

Calls 1

completeRequestFunction · 0.70

Tested by

no test coverage detected