[Dbix-class] Exceptions per DB system

Vangelis Katsikaros ibob17 at yahoo.gr
Fri Mar 1 16:59:56 GMT 2013


Hi

In http://afoolishmanifesto.com/dbie-intro/slideshow.html , slide "28 
What it do's?", it's mentioned that not all DB systems are 
exception-supported.

With DBIx::Class: 0.08127 and DBD::mysql: 4.012 I noticed from my logs 
that (at least) some exceptions are supported, for example:

Exception::DB::Transaction error: 
DBIx::Class::ResultSet::update_or_new(): DBI Exception: DBD::mysql::st 
execute failed: Deadlock found when trying to get lock;

Is there a list of exceptions supported by system?

Regards
Vangelis



More information about the DBIx-Class mailing list