MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / formatCliError

Function formatCliError

packages/codex-native-api/src/cli.ts:80–85  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

78}
79
80function formatCliError(error: unknown): string {
81 if (error instanceof Error && error.message) {
82 return error.message;
83 }
84 return String(error);
85}
86
87export {
88 main,

Callers 1

cli.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected