Fix Router and finish base view system.

This commit is contained in:
2026-03-20 13:59:34 +01:00
parent c36b95a15f
commit 43eb936532
11 changed files with 267 additions and 18 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Exceptions;
use Throwable;
class InvalidViewException extends \Exception {
public function __construct( string $viewName )
{
parent::__construct( "View {$viewName} does not exist.", 500 );
}
}