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

Function deploymentToolError

apps/sim/app/api/tools/deployments/utils.ts:17–19  ·  view source on GitHub ↗
(error: string, status: number)

Source from the content-addressed store, hash-verified

15
16/** Standard error body for deployment tool routes, matching the generic tool response shape. */
17export function deploymentToolError(error: string, status: number): NextResponse {
18 return NextResponse.json({ success: false, error }, { status })
19}
20
21/**
22 * Authenticates a deployment tool request via session or internal token (API

Callers 7

route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected