<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
class CustomExceptionController extends AppController
{
public function notFound(): Response
{
return $this->renderWithParams('Exceptions/404.html.twig', []);
}
}