Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
error.php
1
<?php
2
namespace
Bitrix\Pull
;
3
4
class
Error
5
{
6
public
$method
=
''
;
7
public
$code
=
''
;
8
public
$msg
=
''
;
9
public
$params
= Array();
10
public
$error
=
false
;
11
12
public
function
__construct
($method,
$code
, $msg, $params = Array())
13
{
14
if
(
$method
!=
null
)
15
{
16
$this->method =
$method
;
17
$this->code =
$code
;
18
19
if
(is_array(
$msg
))
20
$this->msg = implode(
"; "
,
$msg
);
21
else
22
$this->msg =
$msg
;
23
24
$this->params =
$params
;
25
26
$this->error =
true
;
27
}
28
}
29
}
Bitrix\Main\Error
Definition
error.php:14
Bitrix\Main\Error\$code
$code
Definition
error.php:16
Bitrix\Pull\Error\$method
$method
Definition
error.php:6
Bitrix\Pull\Error\$msg
$msg
Definition
error.php:8
Bitrix\Pull\Error\__construct
__construct($method, $code, $msg, $params=Array())
Definition
error.php:12
Bitrix\Pull\Error\$error
$error
Definition
error.php:10
Bitrix\Pull\Error\$params
$params
Definition
error.php:9
Bitrix\Pull
modules
pull
lib
error.php
Создано системой
1.10.0