Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
unknownfieldexception.php
1
<?php
2
3
namespace
Bitrix\Seo\BusinessSuite\Exception
;
4
5
6
class
UnknownFieldException
extends
ConfigException
7
{
8
const
EXCEPTION_TYPE
=
ConfigException::EXCEPTION_TYPE_UNKNOWN_FIELD
;
9
10
protected
$fieldCode
;
11
22
public
function
__construct
(
23
$message =
""
,
24
$code = 0,
25
$file =
""
,
26
$line = 0,
27
\Exception $previous =
null
,
28
$fieldCode
=
''
29
)
30
{
31
parent::__construct($message, $code, $file, $line, $previous);
32
$this->fieldCode =
$fieldCode
;
33
}
34
38
public
function
getCustomData
(): array
39
{
40
return
parent::getCustomData() + [
41
'code'
=>
$this->fieldCode
,
42
];
43
}
44
}
Bitrix\Seo\BusinessSuite\Exception\ConfigException
Definition
configexception.php:8
Bitrix\Seo\BusinessSuite\Exception\ConfigException\EXCEPTION_TYPE_UNKNOWN_FIELD
const EXCEPTION_TYPE_UNKNOWN_FIELD
Definition
configexception.php:13
Bitrix\Seo\BusinessSuite\Exception\UnknownFieldException
Definition
unknownfieldexception.php:7
Bitrix\Seo\BusinessSuite\Exception\UnknownFieldException\__construct
__construct( $message="", $code=0, $file="", $line=0, \Exception $previous=null, $fieldCode='')
Definition
unknownfieldexception.php:22
Bitrix\Seo\BusinessSuite\Exception\UnknownFieldException\$fieldCode
$fieldCode
Definition
unknownfieldexception.php:10
Bitrix\Seo\BusinessSuite\Exception\UnknownFieldException\getCustomData
getCustomData()
Definition
unknownfieldexception.php:38
Bitrix\Seo\BusinessSuite\Exception\UnknownFieldException\EXCEPTION_TYPE
const EXCEPTION_TYPE
Definition
unknownfieldexception.php:8
Bitrix\Seo\BusinessSuite\Exception
Definition
configexception.php:3
modules
seo
lib
businesssuite
exception
unknownfieldexception.php
Создано системой
1.10.0