MCPcopy Create free account
hub / github.com/FIND-Lab/AgentWard / Warning

Class Warning

core/warnings.ts:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30export class Warning {
31 type: string;
32 description: string;
33 details: string;
34 constructor(type: string, description: string, details: string = "") {
35 this.type = type;
36 this.description = description;
37 this.details = details;
38 }
39}
40
41export function formatBasic(error: Warning | Warning[], header = "⚠️System Warning:"): string {
42 if (Array.isArray(error)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected