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

Function createBadRequestResponse

apps/sim/lib/copilot/request/http.ts:34–36  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

32 * field failed.
33 */
34export function createBadRequestResponse(message: string): NextResponse {
35 return NextResponse.json({ error: message }, { status: 400 })
36}
37
38export function createForbiddenResponse(message: string): NextResponse {
39 return NextResponse.json({ error: message }, { status: 403 })

Callers 6

resolveBranchFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
GETFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected