2008年11月6日星期四

Re: [fw-db] Why Pdo error codes are not spread ?

fred wolf wrote:
>
> Hi all,
>
> I recently notice that when an error occurs in the _execute method
> statement of an adapter (Pdo one in my case) a Zend_Db_Statement_Exception
> is thrown with the original message of the adapter only :
>
>

Exception codes are an ongoing discussion. I agree with you, also believe
that it's a relative simple fix and I also opened an issue for it a while
ago:
http://framework.zend.com/issues/browse/ZF-1768

Vote on it, or provide a patch for review.

Till
--
View this message in context: http://www.nabble.com/Why-Pdo-error-codes-are-not-spread---tp20339154p20369925.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: