Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
error.php
1
<?php
2
3
namespace
Bitrix\Forum\Internals\Error
;
4
5
class
Error
6
{
8
protected
$code
;
9
11
protected
$message
;
12
18
public
function
__construct
(
$message
,
$code
= 0)
19
{
20
$this->message =
$message
;
21
$this->code =
$code
;
22
}
23
28
public
function
getCode
()
29
{
30
return
$this->code
;
31
}
32
37
public
function
getMessage
()
38
{
39
return
(
string
)
$this->message
;
40
}
41
42
public
function
__toString
()
43
{
44
return
$this->
getMessage
();
45
}
46
}
Bitrix\Forum\Internals\Error\Error
Definition
error.php:6
Bitrix\Forum\Internals\Error\Error\getMessage
getMessage()
Definition
error.php:37
Bitrix\Forum\Internals\Error\Error\__toString
__toString()
Definition
error.php:42
Bitrix\Forum\Internals\Error\Error\$code
$code
Definition
error.php:8
Bitrix\Forum\Internals\Error\Error\getCode
getCode()
Definition
error.php:28
Bitrix\Forum\Internals\Error\Error\$message
$message
Definition
error.php:11
Bitrix\Forum\Internals\Error\Error\__construct
__construct($message, $code=0)
Definition
error.php:18
Bitrix\Forum\Internals\Error
Definition
error.php:3
modules
forum
lib
internals
error
error.php
Создано системой
1.10.0