for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pheanstalk\Exception;
/**
* An exception relating to the client connection to the beanstalkd server.
*
* @author Paul Annesley
* @package Pheanstalk
* @license http://www.opensource.org/licenses/mit-license.php
*/
class ConnectionException extends ClientException
{
* @param int $errno The connection error code
* @param string $errstr The connection error message
public function __construct($errno, $errstr)
parent::__construct(sprintf('Socket error %d: %s', $errno, $errstr));
}