MCPcopy Index your code
hub / github.com/EvoMap/evolver / _fail

Function _fail

src/forceUpdate.js:104–110  ·  view source on GitHub ↗
(code, detail)

Source from the content-addressed store, hash-verified

102// errno, a version delta, an entry name); it is redacted + truncated to
103// ERROR_MAX by the reporter before it leaves the process.
104function _fail(code, detail) {
105 return Object.freeze({
106 ok: false,
107 code: String(code),
108 detail: detail == null ? '' : String(detail),
109 });
110}
111
112// Compact "CODE: message" rendering of a thrown error for the detail field.
113function _errStr(e) {

Callers 5

_classifyChannel1ErrorFunction · 0.85
_withFallbackFailureFunction · 0.85
_installDownloadedTreeFunction · 0.85
_executeForceUpdateInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected