| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/splitstream/current/vendor/predis/predis/src/Transaction/ |
Upload File : |
<?php
/*
* This file is part of the Predis package.
*
* (c) 2009-2020 Daniele Alessandri
* (c) 2021-2026 Till Krüss
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Predis\Transaction;
use Predis\PredisException;
/**
* Exception class that identifies a MULTI / EXEC transaction aborted by Redis.
*/
class AbortedMultiExecException extends PredisException
{
private $transaction;
/**
* @param MultiExec $transaction Transaction that generated the exception.
* @param string $message Error message.
* @param int $code Error code.
*/
public function __construct(MultiExec $transaction, $message, $code = 0)
{
parent::__construct($message, is_null($code) ? 0 : $code);
$this->transaction = $transaction;
}
/**
* Returns the transaction that generated the exception.
*
* @return MultiExec
*/
public function getTransaction()
{
return $this->transaction;
}
}