File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/im/lib/V2/Chat/ChatError.php
Back
<?php namespace Bitrix\Im\V2\Chat; use Bitrix\Im\V2\Error; use Bitrix\Main\Localization\Loc; class ChatError extends Error { public const WRONG_TYPE = 'WRONG_MESSAGE_TYPE', WRONG_PARAMETER = 'WRONG_PARAMETER', WRONG_SENDER = 'WRONG_SENDER', WRONG_RECIPIENT = 'WRONG_RECIPIENT', WRONG_TARGET_CHAT = 'WRONG_TARGET_CHAT', WRONG_COLOR = 'WRONG_COLOR', ACCESS_DENIED = 'ACCESS_DENIED', NOT_FOUND = 'CHAT_NOT_FOUND', BEFORE_SEND_EVENT = 'EVENT_MESSAGE_SEND', CREATION_ERROR = 'CHAT_CREATION_ERROR' ; protected function loadErrorMessage($code, $replacements): string { return Loc::getMessage("ERROR_CHAT_{$code}", $replacements) ?: ''; } protected function loadErrorDescription($code, $replacements): string { return Loc::getMessage("ERROR_CHAT_{$code}_DESC", $replacements) ?: ''; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings