MCPcopy Index your code
hub / github.com/simstudioai/sim / falErrorMessage

Function falErrorMessage

apps/sim/lib/media/falai.ts:68–72  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

66}
67
68function falErrorMessage(error: unknown): string {
69 if (typeof error === 'string') return error
70 if (isRecordLike(error)) return getStringProp(error, 'message') || JSON.stringify(error)
71 return 'Unknown Fal.ai error'
72}
73
74export interface FalQueueResult {
75 requestId: string

Callers 1

runFalQueueFunction · 0.85

Calls 2

isRecordLikeFunction · 0.90
getStringPropFunction · 0.85

Tested by

no test coverage detected