| Code Coverage | ||||||||||
| Lines | Functions and Methods | Classes and Traits | ||||||||
| Total |  | 100.00% | 11 / 11 | n/a | 0 / 0 | CRAP | n/a | 0 / 0 | ||
| 1 | <?php | 
| 2 | /** | 
| 3 | * @var Framework\Debug\ExceptionHandler $handler | 
| 4 | */ | 
| 5 | ?> | 
| 6 | <!doctype html> | 
| 7 | <html lang="<?= $handler->getLanguage()->getCurrentLocale() ?>" dir="<?= $handler->getLanguage() | 
| 8 | ->getCurrentLocaleDirection() ?>"> | 
| 9 | <head> | 
| 10 | <meta charset="utf-8"> | 
| 11 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 
| 12 | <title><?= $handler->getLanguage()->render('debug', 'exceptionTitle') ?></title> | 
| 13 | <style> | 
| 14 | body { | 
| 15 | background: #000; | 
| 16 | color: #eee; | 
| 17 | font-family: Arial, Helvetica, sans-serif; | 
| 18 | font-size: 16px; | 
| 19 | line-height: 24px; | 
| 20 | margin: 16px; | 
| 21 | } | 
| 22 | |
| 23 | h1 { | 
| 24 | color: #fff; | 
| 25 | } | 
| 26 | </style> | 
| 27 | </head> | 
| 28 | <body> | 
| 29 | <h1><?= $handler->getLanguage()->render('debug', 'exceptionTitle') ?></h1> | 
| 30 | <p><?= $handler->getLanguage()->render('debug', 'exceptionDescription') ?></p> | 
| 31 | <?php | 
| 32 | $log = $handler->getLogger()?->getLastLog(); | 
| 33 | if ($log) { | 
| 34 | echo '<p>Log Id: ' . htmlentities($log->id) . '</p>'; | 
| 35 | } | 
| 36 | ?> | 
| 37 | </body> | 
| 38 | </html> |