MCPcopy Index your code
hub / github.com/hoothin/UserScripts / reject

Function reject

Picviewer CE+/dist.user.js:4585–4590  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

4583 return p.resolve(callback()).then(yes);
4584 }
4585 function reject(reason) {
4586 function no () {
4587 throw reason;
4588 }
4589 return p.resolve(callback()).then(no);
4590 }
4591};
4592Promise.prototype["catch"] = function (onRejected) {
4593 return this.then(null, onRejected);

Callers 8

checkEntryCRC32Function · 0.70
accumulateFunction · 0.70
dist.user.jsFile · 0.70
_fetchByHeadMethod · 0.70
loadVideoJsLibraryFunction · 0.70
tryNextFunction · 0.70
onErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected