Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
SyncError.php
1<?php
2
3namespace Bitrix\Im\V2\Sync;
4
7
8class SyncError extends Error
9{
10 public const LAST_ID_AND_DATE_EMPTY = 'LAST_ID_AND_DATE_EMPTY_ERROR';
11
12 protected function loadErrorMessage($code, $replacements): string
13 {
14 return Loc::getMessage("ERROR_SYNC_{$code}", $replacements) ?: '';
15 }
16
17 protected function loadErrorDescription($code, $replacements): string
18 {
19 return Loc::getMessage("ERROR_SYNC_{$code}_DESC", $replacements) ?: '';
20 }
21}
loadErrorMessage($code, $replacements)
Definition SyncError.php:12
loadErrorDescription($code, $replacements)
Definition SyncError.php:17
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29