Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/cli
/ formatErrorMessage
Function
formatErrorMessage
packages/cli/src/cli.ts:234–236 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
232
}
233
234
function
formatErrorMessage(error: unknown) {
235
return
error instanceof Error ? error.message :
'An unknown error occurred'
236
}
237
238
export
function
cli({
239
name,
Callers
2
handleCreate
Function · 0.85
cli
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected