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

Function originatesFromRejection

static/word2md/mammoth.browser.js:9432–9436  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

9430}
9431
9432function originatesFromRejection(e) {
9433 if (e == null) return false;
9434 return ((e instanceof Error["__BluebirdErrorTypes__"].OperationalError) ||
9435 e["isOperational"] === true);
9436}
9437
9438function canAttachTrace(obj) {
9439 return isError(obj) && es5.propertyIsWritable(obj, "stack");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected