fix(shared): handle Prisma errors in GlobalExceptionFilter to return proper HTTP status codes
Prisma errors (P2025 record not found, P2002 unique constraint, P2003 foreign key) were falling through to the catch-all handler and returning 500 Internal Server Error instead of appropriate 404/409/400. This caused GET /listings/:id with a non-existent ID to return 500 when the Prisma layer threw before the application null check. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in: