MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / constructor

Method constructor

scripts/feishu/smoke.ts:255–270  ·  view source on GitHub ↗
(input: {
    code: string;
    message: string;
    envName?: string;
    envNames?: string[];
    issues?: string[];
    reason?: string;
  })

Source from the content-addressed store, hash-verified

253 readonly reason?: string;
254
255 constructor(input: {
256 code: string;
257 message: string;
258 envName?: string;
259 envNames?: string[];
260 issues?: string[];
261 reason?: string;
262 }) {
263 super(input.message);
264 this.name = "SmokeCliError";
265 this.code = input.code;
266 this.envName = input.envName;
267 this.envNames = input.envNames;
268 this.issues = input.issues;
269 this.reason = input.reason;
270 }
271}
272
273async function main(): Promise<void> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected