Файл: monst/Xsolla/Guzzle/Http/Exception/RequestException.php
Строк: 30
<?php
namespace GuzzleHttpException;
use GuzzleCommonExceptionRuntimeException;
use GuzzleHttpMessageRequestInterface;
/**
* Http request exception
*/
class RequestException extends RuntimeException implements HttpException
{
/** @var RequestInterface */
protected $request;
/**
* Set the request that caused the exception
*
* @param RequestInterface $request Request to set
*
* @return RequestException
*/
public function setRequest(RequestInterface $request)
{
$this->request = $request;
return $this;
}
/**
* Get the request that caused the exception
*
* @return RequestInterface
*/
public function getRequest()
{
return $this->request;
}
}