MCPcopy
hub / github.com/cujojs/when / fail

Function fail

test/monitor/map.js:24–26  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

22// when.map([123], fail);
23
24 function fail(x){
25 throw new Error('map failed');
26 }
27
28 });
29}(typeof define === 'function' && define.amd ? define : function(factory) { module.exports = factory(require); }));

Callers 3

failIfCalledFunction · 0.85
cancelable-test.jsFile · 0.85
all-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…