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

Function normalizeError

apps/sim/executor/utils/errors.ts:114–119  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

112}
113
114export function normalizeError(error: unknown): string {
115 if (error instanceof Error) {
116 return error.message
117 }
118 return String(error)
119}

Callers 3

runMethod · 0.90
executeNodeAsyncMethod · 0.90
handleBlockErrorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected