MCPcopy
hub / github.com/perkeep/perkeep / error

Function error

clients/web/embed/less/less.js:380–388  ·  view source on GitHub ↗
(e, rootHref)

Source from the content-addressed store, hash-verified

378 }
379
380 function error(e, rootHref) {
381 if (!options.errorReporting || options.errorReporting === "html") {
382 errorHTML(e, rootHref);
383 } else if (options.errorReporting === "console") {
384 errorConsole(e, rootHref);
385 } else if (typeof options.errorReporting === 'function') {
386 options.errorReporting("add", e, rootHref);
387 }
388 }
389
390 return {
391 add: error,

Callers 5

EnumerateBlobsOptsMethod · 0.85
mapRenameErrorFunction · 0.85
expectFunction · 0.85
expectCharFunction · 0.85
ParserFunction · 0.85

Calls 2

errorHTMLFunction · 0.85
errorConsoleFunction · 0.85

Tested by

no test coverage detected