1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-02-17 23:10:10 +01:00
2021-05-21 08:49:41 +02:00

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;
}
}