MCPcopy Index your code
hub / github.com/nodejs/node / createError

Function createError

test/fixtures/snapshot/typescript.js:49011–49015  ·  view source on GitHub ↗
(location, message, arg0, arg1, arg2, arg3)

Source from the content-addressed store, hash-verified

49009 return diagnostic;
49010 }
49011 function createError(location, message, arg0, arg1, arg2, arg3) {
49012 return location
49013 ? ts.createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3)
49014 : ts.createCompilerDiagnostic(message, arg0, arg1, arg2, arg3);
49015 }
49016 function error(location, message, arg0, arg1, arg2, arg3) {
49017 var diagnostic = createError(location, message, arg0, arg1, arg2, arg3);
49018 diagnostics.add(diagnostic);

Callers 2

errorFunction · 0.85
resolveNameHelperFunction · 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…