Streamline API Error Handling - Next.js
development•11 months ago
Refactor all API routes in app/api/ to use a centralized error handler in src/lib/error.ts. Replace raw SQL with Prisma methods, handle errors with try-catch, a...
1
0
Public
Discover, create, and share high-quality AI prompts. Optimized for ChatGPT, Claude, and Gemini.
Narrow down prompts by keyword, category, or popularity