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

Function getFalAIErrorMessage

apps/sim/app/api/tools/video/route.ts:1157–1161  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

1155}
1156
1157function getFalAIErrorMessage(error: unknown): string {
1158 if (typeof error === 'string') return error
1159 if (isRecordLike(error)) return getStringProperty(error, 'message') || JSON.stringify(error)
1160 return 'Unknown error'
1161}
1162
1163function buildFalAIQueueUrl(
1164 endpoint: string,

Callers 1

generateWithFalAIFunction · 0.70

Calls 2

isRecordLikeFunction · 0.90
getStringPropertyFunction · 0.70

Tested by

no test coverage detected