Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
80
function
formatCliError(error: unknown): string {
81
if
(error instanceof Error && error.message) {
82
return
error.message;
83
}
84
return
String(error);
85
}
86
87
export
{
88
main,
Callers
1
cli.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected