Represents an error raised by PDO. You should not throw a PDOException from your own code. See Exceptions for more information about Exceptions in PHP.
Corresponds to PDO::errorInfo() or PDOStatement::errorInfo()
Textual error message. Exception::getMessage() to access it.
SQLSTATE error code. Use Exception::getCode() to access it.