Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
clientexception.php
1
<?php
2
3
namespace
Bitrix\Main\Web\Http
;
4
5
use
Bitrix\Main\SystemException
;
6
use Psr\Http\Message\RequestInterface;
7
use Psr\Http\Client\ClientExceptionInterface;
8
9
class
ClientException
extends
SystemException
implements ClientExceptionInterface
10
{
11
protected
RequestInterface
$request
;
12
13
public
function
__construct
(RequestInterface
$request
, $message =
''
)
14
{
15
parent::__construct($message);
16
17
$this->request =
$request
;
18
}
19
20
public
function
getRequest
(): RequestInterface
21
{
22
return
$this->request
;
23
}
24
}
Bitrix\Main\SystemException
Definition
exception.php:8
Bitrix\Main\Web\Http\ClientException
Definition
clientexception.php:10
Bitrix\Main\Web\Http\ClientException\$request
RequestInterface $request
Definition
clientexception.php:11
Bitrix\Main\Web\Http\ClientException\__construct
__construct(RequestInterface $request, $message='')
Definition
clientexception.php:13
Bitrix\Main\Web\Http\ClientException\getRequest
getRequest()
Definition
clientexception.php:20
Bitrix\Main\Web\Http
Definition
clientexception.php:3
modules
main
lib
web
http
clientexception.php
Создано системой
1.10.0