import { Request, Response } from 'express';

export const notFoundHandler = (req: Request, res: Response) => {
  res.status(404).json({
    success: false,
    message: 'الصفحة غير موجودة - Route not found',
    error: 'NOT_FOUND',
    path: req.originalUrl,
  });
};

