Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
CallError.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Call
;
4
5
use
Bitrix\Im\V2\Error
;
6
use
Bitrix\Main\Localization\Loc
;
7
8
class
CallError
extends
Error
9
{
10
public
const
11
ZOOM_ACTIVE_ERROR
=
'ZOOM_ACTIVE_ERROR'
,
12
ZOOM_AVAILABLE_ERROR
=
'ZOOM_AVAILABLE_ERROR'
,
13
ZOOM_CONNECTED_ERROR
=
'ZOOM_CONNECTED_ERROR'
,
14
ZOOM_CREATE_ERROR
=
'ZOOM_CREATE_ERROR'
,
15
CALL_NOT_FOUNT
=
'CALL_NOT_FOUNT'
,
16
SEND_PULL_ERROR
=
'SEND_PULL_ERROR'
17
;
18
19
protected
function
loadErrorMessage
(
$code
, $replacements): string
20
{
21
return
Loc::getMessage
(
"ERROR_CALL_{$code}"
, $replacements) ?:
''
;
22
}
23
24
protected
function
loadErrorDescription
(
$code
, $replacements): string
25
{
26
return
Loc::getMessage
(
"ERROR_CALL_{$code}_DESC"
, $replacements) ?:
''
;
27
}
28
}
Bitrix\Im\V2\Call\CallError
Definition
CallError.php:9
Bitrix\Im\V2\Call\CallError\ZOOM_CREATE_ERROR
const ZOOM_CREATE_ERROR
Definition
CallError.php:14
Bitrix\Im\V2\Call\CallError\CALL_NOT_FOUNT
const CALL_NOT_FOUNT
Definition
CallError.php:15
Bitrix\Im\V2\Call\CallError\ZOOM_ACTIVE_ERROR
const ZOOM_ACTIVE_ERROR
Definition
CallError.php:11
Bitrix\Im\V2\Call\CallError\SEND_PULL_ERROR
const SEND_PULL_ERROR
Definition
CallError.php:16
Bitrix\Im\V2\Call\CallError\ZOOM_CONNECTED_ERROR
const ZOOM_CONNECTED_ERROR
Definition
CallError.php:13
Bitrix\Im\V2\Call\CallError\loadErrorMessage
loadErrorMessage($code, $replacements)
Definition
CallError.php:19
Bitrix\Im\V2\Call\CallError\loadErrorDescription
loadErrorDescription($code, $replacements)
Definition
CallError.php:24
Bitrix\Im\V2\Call\CallError\ZOOM_AVAILABLE_ERROR
const ZOOM_AVAILABLE_ERROR
Definition
CallError.php:12
Bitrix\Im\V2\Error
Definition
Error.php:8
Bitrix\Main\Error\$code
$code
Definition
error.php:16
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Im\V2\Call
Definition
BitrixCall.php:3
modules
im
lib
V2
Call
CallError.php
Создано системой
1.10.0