mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 07:00:29 +01:00
27 lines
615 B
PHP
27 lines
615 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Xentral\Components\HttpClient\Exception;
|
|
|
|
use Xentral\Components\HttpClient\Request\ClientRequestInterface;
|
|
use Xentral\Components\HttpClient\Response\ServerResponseInterface;
|
|
|
|
interface TransferErrorExceptionInterface extends HttpClientExceptionInterface
|
|
{
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function hasResponse(): bool;
|
|
|
|
/**
|
|
* @return ServerResponseInterface|null
|
|
*/
|
|
public function getResponse(): ?ServerResponseInterface;
|
|
|
|
/**
|
|
* @return ClientRequestInterface
|
|
*/
|
|
public function getRequest(): ClientRequestInterface;
|
|
}
|