MCPcopy Create free account
hub / github.com/TruthHun/BookStack / fail

Function fail

static/word2md/mammoth.browser.js:5912–5916  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

5910 return finallyHandler.call(this, this.promise._target()._settledValue());
5911}
5912function fail(reason) {
5913 if (checkCancel(this, reason)) return;
5914 errorObj.e = reason;
5915 return errorObj;
5916}
5917function finallyHandler(reasonOrValue) {
5918 var promise = this.promise;
5919 var handler = this.handler;

Callers

nothing calls this directly

Calls 1

checkCancelFunction · 0.70

Tested by

no test coverage detected