Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xcaff/codex-web
/ errorMessage
Function
errorMessage
src/browser/files.ts:216–221 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
214
}
215
216
function
errorMessage(error: unknown): string {
217
if
(error instanceof Error) {
218
return
error.message;
219
}
220
return
String(error);
221
}
Callers
1
handleLocalFilePickerMessage
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected