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

Function reject

test/angular/1.2/angular.js:11865–11869  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

11863 * @returns {Promise} Returns a promise that was already resolved as rejected with the `reason`.
11864 */
11865 var reject = function(reason) {
11866 var result = defer();
11867 result.reject(reason);
11868 return result.promise;
11869 };
11870
11871 var createInternalRejectedPromise = function(reason) {
11872 return {

Callers 3

wrappedCallbackFunction · 0.70
wrappedErrbackFunction · 0.70
defaultErrbackFunction · 0.70

Calls 1

deferFunction · 0.70

Tested by

no test coverage detected