1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
exceptionhandleroutput.php
См. документацию.
1<?php
2namespace Bitrix\Main\Diag;
3
4use Bitrix\Main;
5
7
9{
14 public function renderExceptionMessage($exception, $debug = false)
15 {
16 if ($debug)
17 {
18 echo ExceptionHandlerFormatter::format($exception, false);
19 }
20 else
21 {
23 if ($context)
24 echo Main\Localization\Loc::getMessage("eho_render_exception_message");
25 else
26 echo "A error occurred during execution of this script. You can turn on extended error reporting in .settings.php file.";
27 }
28 }
29}
static getInstance()
Определения application.php:98
static format($exception, $htmlMode=false, $level=0)
Определения exceptionhandlerformatter.php:20
renderExceptionMessage($exception, $debug=false)
Определения exceptionhandleroutput.php:14
static loadMessages($file)
Определения loc.php:65
static getMessage($code, $replace=null, $language=null)
Определения loc.php:30
$context
Определения csv_new_setup.php:223