PHP Class Predis\Transaction\AbortedMultiExecException

Author: Daniele Alessandri ([email protected])
Inheritance: extends Predis\PredisException
Show file Open project: tillkruss/redis-object-cache

Public Methods

Method Description
__construct ( MultiExec $transaction, string $message, integer $code = null )
getTransaction ( ) : MultiExec Returns the transaction that generated the exception.

Method Details

__construct() public method

public __construct ( MultiExec $transaction, string $message, integer $code = null )
$transaction MultiExec Transaction that generated the exception.
$message string Error message.
$code integer Error code.

getTransaction() public method

Returns the transaction that generated the exception.
public getTransaction ( ) : MultiExec
return MultiExec