Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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.

Replies are listed 'Best First'.
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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2016-10-24 19:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.