MCPcopy Create free account
hub / github.com/triggerdotdev/trigger.dev / createErrorResponse

Function createErrorResponse

apps/yalt/src/index.ts:250–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248}
249
250const createErrorResponse = () =>
251 new Response(
252 JSON.stringify({
253 message: 'Could not connect to your dev server. Make sure you are running the `npx @trigger.dev/cli@latest dev` command',
254 }),
255 {
256 status: 400,
257 headers: { 'Content-Type': 'application/json' },
258 },
259 );

Callers 1

handleTunnelRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…