for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Algatux\InfluxDbBundle\Exception;
/**
* Thrown when an InfluxDB connection can't be retrieved from the registry.
*/
final class ConnectionNotFoundException extends \RuntimeException
{
* @param string $connectionName
* @param string $protocol
* @param \Exception|null $previous
public function __construct(string $connectionName, string $protocol, \Exception $previous = null)
parent::__construct('Connection "'.$connectionName.'" for '.$protocol.' protocol does not exist.', 0, $previous);
}