MCPcopy Index your code
hub / github.com/witheve/Eve / sendErrors

Function sendErrors

src/runtime/runtimeClient.ts:91–100  ·  view source on GitHub ↗
(errors)

Source from the content-addressed store, hash-verified

89 }
90
91 sendErrors(errors) {
92 if(!errors.length) return;
93 let spans = [];
94 let extraInfo = {};
95 for(let error of errors) {
96 error.injectSpan(spans, extraInfo);
97 }
98 this.send(JSON.stringify({type: "comments", spans, extraInfo}))
99 return true;
100 }
101
102 enabledCss(code:string = "") {
103 if(!code && this.lastParse) code = this.lastParse.code;

Callers

nothing calls this directly

Calls 2

injectSpanMethod · 0.80
sendMethod · 0.65

Tested by

no test coverage detected