Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user