Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
114
export
function
normalizeError(error: unknown): string {
115
if
(error instanceof Error) {
116
return
error.message
117
}
118
return
String(error)
119
}
Callers
3
run
Method · 0.90
executeNodeAsync
Method · 0.90
handleBlockError
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected