Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: post mortem on DBI errors

by andye (Curate)
on Jan 23, 2009 at 14:27 UTC ( #738489=note: print w/replies, xml ) Need Help??

in reply to post mortem on DBI errors

redlemon, is that specific error the one you're looking for? Or was that just an example?

All the btes, andye

Replies are listed 'Best First'.
Re^2: post mortem on DBI errors
by redlemon (Hermit) on Jan 23, 2009 at 15:04 UTC

    It's just an example. There are several things that can go wrong during database insertion or update, some of which depend on user input, so need to be registered as a form error.

    In those cases the you'd get a list of catches, plus a catch-all that would just dump the actual error message

    It would probably need a change right down at the DBD/DBI level, and the way the drivers register their error handlers


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738489]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-09-29 05:09 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (146 votes). Check out past polls.