public function __construct(Connection $connection) { parent::__construct('Unable to connect to ' . $connection->getHostname() . ':' . $connection->getPort()); }
public function __construct(Connection $connection) { parent::__construct('Unable to identify to ' . $connection->getHostname() . ':' . $connection->getPort() . ' with username ' . $connection->getUsername() . ' and password'); }