(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Represents an error raised by PDO. You should not throw a PDOException from your own code.
See also Throwable errors.
$message
$code
$previous
null
Corresponds to PDO::errorInfo() or PDOStatement::errorInfo()
SQLSTATE error code. Use PDOException::getCode() to access it.
SQLSTATE