TransactionException extends SqlException
Special exception for transactions handling.
Table of Contents
Methods
- __construct() : mixed
- getDatabaseMessage() : string
- Returns database specific message provided to the constructor.
Methods
__construct()
public
__construct([string $message = '' ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
-
Application message.
- $previous : Throwable|null = null
-
The previous exception used for the exception chaining.
getDatabaseMessage()
Returns database specific message provided to the constructor.
public
getDatabaseMessage() : string