mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 14:40:29 +01:00
32 lines
536 B
PHP
32 lines
536 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Xentral\Components\HttpClient\Exception;
|
|
|
|
use Xentral\Components\HttpClient\Response\ServerResponseInterface;
|
|
|
|
/**
|
|
* HTTP connect failed, e.g. timeout
|
|
*
|
|
* Response is not available
|
|
*/
|
|
class ConnectionFailedException extends TransferErrorException
|
|
{
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function hasResponse(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getResponse(): ?ServerResponseInterface
|
|
{
|
|
return null;
|
|
}
|
|
}
|