1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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
Определения
error.php:6
Bitrix\Forum\Internals\Error\Error\getMessage
getMessage()
Определения
error.php:37
Bitrix\Forum\Internals\Error\Error\__toString
__toString()
Определения
error.php:42
Bitrix\Forum\Internals\Error\Error\$code
$code
Определения
error.php:8
Bitrix\Forum\Internals\Error\Error\getCode
getCode()
Определения
error.php:28
Bitrix\Forum\Internals\Error\Error\$message
$message
Определения
error.php:11
Bitrix\Forum\Internals\Error\Error\__construct
__construct($message, $code=0)
Определения
error.php:18
Bitrix\Forum\Internals\Error
Определения
error.php:3
bitrix
modules
forum
lib
internals
error
error.php
Создано системой
1.14.0