La classe PDOExceptionPDOException
&reftitle.intro;
Représente une erreur émise par PDO. Vous ne devez pas lancer
une exception PDOException depuis votre
propre code. Voir le chapitre sur les
exceptions
pour plus d'informations concernant les exceptions en PHP.
&reftitle.classsynopsis;
PDOExceptionPDOExceptionextendsRuntimeException&Properties;protectedintstringcodepublicarraynullerrorInfonull&InheritedProperties;&InheritedMethods;
&reftitle.properties;
errorInfo
Correspond à PDO::errorInfo ou
PDOStatement::errorInfocode
Code erreur SQLSTATE. Utilisez la méthode
Exception::getCode pour y accéder.