MCPcopy Create free account
hub / github.com/angular-ui/ui-router / requestError

Function requestError

test/angular/1.4/angular.js:11018–11022  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11016 };
11017
11018 var requestError = function() {
11019 // The response is always empty
11020 // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error
11021 completeRequest(callback, -1, null, null, '');
11022 };
11023
11024 xhr.onerror = requestError;
11025 xhr.onabort = requestError;

Callers

nothing calls this directly

Calls 1

completeRequestFunction · 0.70

Tested by

no test coverage detected