Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gan-Xing/CodexBridge
/ formatErrorMessage
Function
formatErrorMessage
packages/mission-control/src/runtime.ts:2231–2236 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
2229
}
2230
2231
function
formatErrorMessage(error: unknown): string {
2232
if
(error instanceof Error) {
2233
return
error.message;
2234
}
2235
return
String(error);
2236
}
Callers
1
runMission
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected