chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Framework\Router\Exception;
use App\Framework\Exception\FrameworkException;
use App\Framework\Http\Exception\HttpException;
use App\Framework\Http\Status;
class RouteNotFound extends FrameworkException implements HttpException
{
public Status $status {
get {
return Status::NOT_FOUND;
}
}
protected string $route;
public function __construct(string $route, ?\Throwable $previous = null, int $code = 0, array $context = [])
{
$this->route = $route;
$message = "Route not found: {$route}";
#$context
parent::__construct($message, $code, $previous);
}
}