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 Trycatch to handle them: https://metacpan.org/module/TryCatch this is a nice implementation of java-style exception semantics in perl. HTH patrick -- Patrick Meidl ........................ +43 1 9688226 (home) Pazmanitengasse 4/10 ................. +43 680 2072780 (mobile) 1020 Wien ............................ patr...@pantheon.at Austria .............................. http://pmeidl.homelinux.net/ -- _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk