MCPcopy
hub / github.com/ternjs/tern / ternError

Function ternError

lib/tern.js:430–434  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

428 }
429
430 function ternError(msg) {
431 var err = new Error(msg);
432 err.name = "TernError";
433 return err;
434 }
435
436 function resolveFile(srv, localFiles, name) {
437 var isRef = name.match(/^#(\d+)$/);

Callers 11

resolveFileFunction · 0.85
tern.jsFile · 0.85
findCompletionsFunction · 0.85
findExprOrThrowFunction · 0.85
findExprTypeFunction · 0.85
findTypeAtExprFunction · 0.85
findRefsToVariableFunction · 0.85
storeRefFunction · 0.85
findRefsToPropertyFunction · 0.85
findRefsFunction · 0.85
buildRenameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…