 <p>From their documentation.</p> <blockquote> <p>The query() method returns an object of type Zend_Db_Statement or PDOStatement, depending on the adapter type</p> </blockquote> <p>Depending on configuration, PDO can throw Exceptions on errors which you can try/catch or you can inspect the resulting object that is passed back from Zend for errors.</p> <p>For reference:</p> <p><a href="http://php.net/manual/en/pdostatement.errorcode.php" rel="nofollow">http://php.net/manual/en/pdostatement.errorinfo.php</a> <a href="http://php.net/manual/en/pdostatement.errorcode.php" rel="nofollow">http://php.net/manual/en/pdostatement.errorcode.php</a></p>