Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-with-antonio/nightcode
/ getErrorMessage
Function
getErrorMessage
packages/cli/src/lib/oauth.ts:33–35 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
31
}
32
33
function
getErrorMessage(error: unknown) {
34
return
error instanceof Error ? error.message : String(error);
35
}
36
37
export
async
function
performLogin() {
38
const
clerkFrontendApi = process.env.CLERK_FRONTEND_API;
Callers
1
fetch
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected