MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / GET

Function GET

src/app/api/sentry-example-api/route.ts:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10// A faulty API route to test Sentry's error monitoring
11export function GET() {
12 throw new SentryExampleAPIError("This error is raised on the backend called by the example page.");
13 return NextResponse.json({ data: "Testing Sentry Error..." });
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected