[Dbix-class] Throwing exceptions from exception_action

2012-04-23 Thread Konstantin A. Pustovalov
Hi DBIC gurus! I tried to throw typed exceptions from exception_action based on DBD error codes. And to no avail. Here are problems that I've faced: 1. There are very little docs and few tests on exception_action. 2. exception_action is being called twice ( at least more than once ) for

Re: [Dbix-class] Throwing exceptions from exception_action

2012-04-23 Thread Patrick Meidl
On Mon, Apr 23 2012, Konstantin A. Pustovalov la...@adriver.ru wrote: I tried to throw typed exceptions from exception_action based on DBD error codes. And to no avail. hi Konstantin, I can't comment on your DBIx::Class problem, but if you want to use typed exceptions, I'd recommend using