29 lines
669 B
PHTML
29 lines
669 B
PHTML
<?php
|
|
/**
|
|
* @var Exception $exception
|
|
* @var App\Environment $environment
|
|
*/
|
|
|
|
$this->layout('minimal', [
|
|
'title' => 'Error',
|
|
'page_class' => 'error-content',
|
|
]);
|
|
|
|
$filePath = Symfony\Component\Filesystem\Path::makeRelative(
|
|
$exception->getFile(),
|
|
$environment->getBaseDirectory()
|
|
);
|
|
?>
|
|
|
|
<div class="public-page">
|
|
<div class="card p-3">
|
|
<div class="card-body">
|
|
<h2 class="display-4">Error</h2>
|
|
<h4><?= $this->e($exception->getMessage()) ?></h4>
|
|
<p class="text-muted card-text">
|
|
<?= $this->e($filePath) ?> : L<?= $exception->getLine() ?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|