public __construct ( Predis\Connection\NodeConnectionInterface $connection, string $message = null, integer $code = null, Exception $innerException = null ) | ||
$connection | Predis\Connection\NodeConnectionInterface | Connection that generated the exception. |
$message | string | Error message. |
$code | integer | Error code. |
$innerException | Exception | Inner exception for wrapping the original error. |
public function __construct(NodeConnectionInterface $connection, $message = null, $code = null, \Exception $innerException = null)
{
$this->connection = $connection;
parent::__construct($message, $code, $innerException);
}