Files
Gnuboard7/app/Exceptions/LayoutIncludeException.php
T
2026-04-01 10:30:52 +09:00

33 lines
646 B
PHP

<?php
namespace App\Exceptions;
use Exception;
class LayoutIncludeException extends Exception
{
private ?string $includePath = null;
private ?array $includeStack = null;
public function __construct(
string $message,
?string $includePath = null,
?array $includeStack = null
) {
$this->includePath = $includePath;
$this->includeStack = $includeStack;
parent::__construct($message);
}
public function getIncludePath(): ?string
{
return $this->includePath;
}
public function getIncludeStack(): ?array
{
return $this->includeStack;
}
}