The PDOException class
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Introduction
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.
Class synopsis
/* Properties */
/* Inherited properties */
/* Inherited methods */
}Properties
- errorInfo
Corresponds to PDO::errorInfo() or PDOStatement::errorInfo()
- code
SQLSTATEerror code. Use Exception::getCode() to access it.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open