Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



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
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-02-2008, 01:07 AM Re: What's your approach to DB error handling?
vn5ltr's Avatar
Skilled Talker

Posts: 93
Location: Melbourne, Australia
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.13542 seconds with 12 queries