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

Function formatError

scripts/feishu/smoke.ts:1659–1661  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

1657}
1658
1659function formatError(error: unknown): string {
1660 return sanitizeSmokeOutputText(error instanceof Error ? error.message : String(error));
1661}
1662
1663function sanitizeSmokeOutputText(value: string): string {
1664 return value

Callers 4

createLiveClientIfNeededFunction · 0.85
smokeFeishuRequestFunction · 0.85
buildSmokeCliErrorOutputFunction · 0.85
formatCallbackProbeErrorFunction · 0.85

Calls 1

sanitizeSmokeOutputTextFunction · 0.85

Tested by

no test coverage detected