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