AbortedMultiExecException
extends PredisException
in package
Exception class that identifies a MULTI / EXEC transaction aborted by Redis.
Tags
Table of Contents
- $transaction : mixed
- __construct() : mixed
- getTransaction() : MultiExec
- Returns the transaction that generated the exception.
Properties
$transaction
private
mixed
$transaction
Methods
__construct()
public
__construct(MultiExec $transaction, string $message[, int $code = null ]) : mixed
Parameters
- $transaction : MultiExec
-
Transaction that generated the exception.
- $message : string
-
Error message.
- $code : int = null
-
Error code.
Return values
mixed —getTransaction()
Returns the transaction that generated the exception.
public
getTransaction() : MultiExec