1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
ExternalError.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Chat\ExternalChat;
4
5
use Bitrix\Im\V2\Error;
6
use Bitrix\Main\Localization\Loc;
7
8
class
ExternalError
extends
Error
9
{
10
public
const
FROM_EVENT
=
'ERROR_FROM_EVENT'
;
11
12
protected
function
loadErrorMessage
(
$code
, $replacements): string
13
{
14
return
Loc::getMessage(
"ERROR_EXTERNAL_{$code}"
, $replacements) ?:
''
;
15
}
16
17
protected
function
loadErrorDescription
(
$code
, $replacements): string
18
{
19
return
Loc::getMessage(
"ERROR_EXTERNAL_{$code}_DESC"
, $replacements) ?:
''
;
20
}
21
}
Bitrix\Im\V2\Chat\ExternalChat\ExternalError
Определения
ExternalError.php:9
Bitrix\Im\V2\Chat\ExternalChat\ExternalError\FROM_EVENT
const FROM_EVENT
Определения
ExternalError.php:10
Bitrix\Im\V2\Chat\ExternalChat\ExternalError\loadErrorMessage
loadErrorMessage($code, $replacements)
Определения
ExternalError.php:12
Bitrix\Im\V2\Chat\ExternalChat\ExternalError\loadErrorDescription
loadErrorDescription($code, $replacements)
Определения
ExternalError.php:17
Bitrix\Main\Error
Определения
error.php:15
Bitrix\Main\Error\$code
$code
Определения
error.php:17
bitrix
modules
im
lib
V2
Chat
ExternalChat
ExternalError.php
Создано системой
1.14.0