ProbeRefusal extends Exception implements Exception
FinalYes
DBAL's exception converters key on the SQLSTATE (PostgreSQL), the code (MySQL) and the message (SQLite), so a refusal carries all three for DbalResultSchema to convert into what the read itself would throw.
Interfaces
- Exception
Methods
- __construct() : mixed
- getSQLState() : string|null
Methods
__construct()
public
__construct(string $message[, int $code = 0 ][, string|null $sqlState = null ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
- $code : int = 0
- $sqlState : string|null = null
- $previous : Throwable|null = null
getSQLState()
public
getSQLState() : string|null