The PDOException class
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
PDOException
PDOException
extends
RuntimeException
{
/* Properties */
/* Inherited methods */
}Properties
- errorInfo
-
Corresponds to PDO::errorInfo() or PDOStatement::errorInfo()
- message
-
Textual error message. Exception::getMessage() to access it.
- code
-
SQLSTATE error code. Use Exception::getCode() to access it.
PDOException
There are no user contributed notes for this page.
