MCPcopy Create free account
hub / github.com/Snapchat/Valdi / onError

Function onError

compiler/companion/src/native/NativeHelper.ts:54–56  ·  view source on GitHub ↗
(filename: string, sourceFile: ts.SourceFile, node: ts.Node, message: string)

Source from the content-addressed store, hash-verified

52}
53
54export function onError(filename: string, sourceFile: ts.SourceFile, node: ts.Node, message: string): never {
55 throw new NativeCompilerError(filename, sourceFile, node, message);
56}
57
58export function logNodeInfo(node: ts.Node): void {
59 console.log(`kind: ${getSyntaxKindString(node.kind)} text: ${node.getFullText()}`);

Callers 2

constructorMethod · 0.50
monitorFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected