View Single Post
  #10 (permalink)  
Old 02-29-2008, 01:59 PM
xentek's Avatar
xentek xentek is offline
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

@mugesh

Which errors are you looking for? Connection issues can be caught and displayed with a try/catch block around that code (we do it in our bootstrap).

As for other DB errors, if you catch the right Exception object (Zend_DB_Exception, etc) you should be able to get the right error. Zend_Exception should be your last (default) catch block, so that general/other errors can be caught at that point.

HTH,
-e
Reply With Quote