MCPcopy
hub / github.com/witheve/Eve / injectNotice

Method injectNotice

src/client.ts:209–217  ·  view source on GitHub ↗
(type:string, message:string)

Source from the content-addressed store, hash-verified

207 }
208
209 injectNotice(type:string, message:string) {
210 if(this.ide) {
211 this.ide.injectNotice(type, message);
212 } else {
213 if(type === "error") console.error(message);
214 else if(type === "warning") console.warn(message);
215 else console.info(message);
216 }
217 }
218
219 onError() {
220 this.localControl = true;

Callers 4

onErrorMethod · 0.95
onCloseMethod · 0.95
_errorMethod · 0.95
changeDocumentFunction · 0.45

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected