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

Function createNotFoundResponse

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

Source from the content-addressed store, hash-verified

40}
41
42export function createNotFoundResponse(message: string): NextResponse {
43 return NextResponse.json({ error: message }, { status: 404 })
44}
45
46export function createInternalServerErrorResponse(message: string): NextResponse {
47 return NextResponse.json({ error: message }, { status: 500 })

Callers 5

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