MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / createFatalError

Function createFatalError

lib/test/angular/1.8.0/angular-mocks.js:1568–1574  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

1566 }
1567
1568 function createFatalError(message) {
1569 var error = new Error(message);
1570 // In addition to being converted to a rejection, these errors also need to be passed to
1571 // the $exceptionHandler and be rethrown (so that the test fails).
1572 error.$$passToExceptionHandler = true;
1573 return error;
1574 }
1575
1576 if (expectation && expectation.match(method, url)) {
1577 if (!expectation.matchData(data)) {

Callers 1

$httpBackendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected