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

Function isActionableErrorStatus

apps/sim/lib/copilot/request/otel.ts:86–89  ·  view source on GitHub ↗
(code: number)

Source from the content-addressed store, hash-verified

84 * sync if you change the actionable set.
85 */
86export function isActionableErrorStatus(code: number): boolean {
87 if (code >= 500) return true
88 return code === 402 || code === 409 || code === 429
89}
90
91// Record exception + set ERROR unless the error is an explicit user
92// stop (see `isExplicitUserStopError`). Every other cancellation —

Callers 1

fetchGoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected