1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
yandexdirectexception.php
См. документацию.
1
<?php
2
namespace
Bitrix\Seo\Engine;
3
4
use Bitrix\Main\SystemException;
5
6
class
YandexDirectException
extends
SystemException
7
{
8
public
function
__construct
(
array
$queryResult, \Exception $previous =
null
)
9
{
10
$errorMessage
= $queryResult[
'error'
];
11
if
(
$errorMessage <>
''
&& $queryResult[
'error_description'
] <>
''
)
12
{
13
$errorMessage
.=
": "
;
14
}
15
$errorMessage
.= $queryResult[
'error_description'
];
16
17
if
(intval($queryResult[
'error'
]) > 0)
18
{
19
parent::__construct(
$errorMessage
, intval($queryResult[
'error'
]));
20
}
21
else
22
{
23
parent::__construct(
$errorMessage
);
24
}
25
}
26
}
Bitrix\Main\SystemException
Определения
SystemException.php:9
Bitrix\Seo\Engine\YandexDirectException
Определения
yandexdirectexception.php:7
Bitrix\Seo\Engine\YandexDirectException\__construct
__construct(array $queryResult, \Exception $previous=null)
Определения
yandexdirectexception.php:8
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$errorMessage
while($arParentIBlockProperty=$dbParentIBlockProperty->Fetch()) $errorMessage
Определения
iblock_subelement_generator.php:275
bitrix
modules
seo
lib
engine
yandexdirectexception.php
Создано системой
1.14.0