MCPcopy
hub / github.com/systemjs/systemjs / errMsg

Function errMsg

src/err-msg.js:1–6  ·  view source on GitHub ↗
(errCode, msg)

Source from the content-addressed store, hash-verified

1export function errMsg(errCode, msg) {
2 if (process.env.SYSTEM_PRODUCTION)
3 return (msg || "") + " (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#" + errCode + ")";
4 else
5 return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://github.com/systemjs/systemjs/blob/main/docs/errors.md#" + errCode + ")";
6}

Callers 11

getOrCreateLoadFunction · 0.90
targetWarningFunction · 0.90
throwUnresolvedFunction · 0.90
registry.jsFile · 0.90
fetch-load.jsFile · 0.90
script-load.jsFile · 0.90
processScriptsFunction · 0.90
extendImportMapFunction · 0.90
transform.jsFile · 0.90
unsupportedRequireFunction · 0.90
amd.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…