Skip to content

The only tool you need to know what is happening and how to fix it.

166 B
Raw Blame
import { withRoute } from "@/lib/with-route";

export const GET = withRoute("/nextjs/api/test-error", async () => {
  throw new Error("Test error from Next.js");
});