go ahead... be a heretic | |
PerlMonks |
Re: Throw DB errorby mje (Curate) |
on Mar 02, 2010 at 09:04 UTC ( [id://826108]=note: print w/replies, xml ) | Need Help?? |
May be I am misunderstanding your question but if all you want is to get a database error why can't you change your code to provide incorrect SQL syntax or an incorrect parameter to a procedure or whatever. If you cannot change your code can you lock a table the code uses and wait for a lock timeout? This seems so straight forward I'm sure you must mean something else. If so what kind of "database" error do you need?
In Section
Seekers of Perl Wisdom
|
|