mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-07 19:29:20 +02:00
- add .editorconfig file - format all files to comply with castopod's coding style - switch parsedown dependency with commonmark library to better follow commonmark spec for markdown - add prettier command to format all project files at once closes #16
24 lines
698 B
PHP
24 lines
698 B
PHP
An uncaught Exception was encountered
|
|
|
|
Type: <?= get_class($exception), "\n" ?>
|
|
Message: <?= $message, "\n" ?>
|
|
Filename: <?= $exception->getFile(), "\n" ?>
|
|
Line Number: <?= $exception->getLine() ?>
|
|
|
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
|
|
Backtrace:
|
|
<?php foreach ($exception->getTrace() as $error): ?>
|
|
<?php if (isset($error['file'])): ?>
|
|
<?= trim(
|
|
'-' .
|
|
$error['line'] .
|
|
' - ' .
|
|
$error['file'] .
|
|
'::' .
|
|
$error['function']
|
|
) . "\n" ?>
|
|
<?php endif; ?>
|
|
<?php endforeach; ?>
|
|
|
|
<?php endif; ?>
|