add connection manager and facade with implementation

This commit is contained in:
Namoshek
2019-09-15 21:41:06 +02:00
parent c0bc99c781
commit ca2238c9b5
6 changed files with 285 additions and 33 deletions

View File

@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace PhpMqtt\Client\Exceptions;
/**
* Class ConnectionNotAvailableException
*
* @package PhpMqtt\Client\Exceptions
*/
class ConnectionNotAvailableException extends MQTTClientException
{
public function __construct(string $name)
{
parent::__construct(sprintf('An MQTT connection with the name [%s] could not be found.', $name));
}
}