Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Capturing error thrown by a database

by onelesd (Pilgrim)
on Aug 01, 2011 at 18:55 UTC ( #917901=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Capturing error thrown by a database
in thread Capturing error thrown by a database

Posting your code would help. You can define a subroutine to handle all of your DBI errors: HandleError.


Comment on Re^3: Capturing error thrown by a database
Download Code
Re^4: Capturing error thrown by a database
by mpeppler (Vicar) on Aug 10, 2011 at 08:33 UTC
    I'll also point out the DBD::Sybase implements its own error handler callback (syb_err_handler connection level attribute). See the DBD::Sybase docs for details.

    Michael

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-03 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls