Reply
What's your approach to DB error handling?
Old 05-30-2008, 05:24 PM What's your approach to DB error handling?
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,678
Name: John Alexander
I'm curious how other people do this? Do you query the @@Error global variable? Do you use structured exception handling? What kind of logging do you do? Et cetera.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-02-2008, 01:07 AM Re: What's your approach to DB error handling?
vn5ltr's Avatar
Skilled Talker

Posts: 94
Location: Melbourne, Australia
As a PHP programmer, i handle all my DB errors using the PDO exception handler. I find it handy to extend the exception class and take it one step further by emailing me details of the error with high priority, then displaying a soft error message to the user.
vn5ltr is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What's your approach to DB error handling?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11333 seconds with 12 queries