[Dbix-class] can i add custom error info for throw_exception in dbix::class 0.07006?

Alexander Hartmaier alexander.hartmaier at t-systems.at
Fri Apr 16 12:03:22 GMT 2010


Or fix your code...

-- 
Best regards, Alex


Am Freitag, den 16.04.2010, 10:54 +0200 schrieb 老邪:
> we did, our code is not good enough to work with newest dbix::class,
> so, have to stay in 0.07 version now :(
> 
> On Fri, Apr 16, 2010 at 4:50 PM, Alexander Hartmaier
> <alexander.hartmaier at t-systems.at> wrote:
>         Why do you not test your model with the newest DBIx::Class
>         version and
>         just upgrade if everything works?
>         
>         --
>         Best regards, Alex
>         
>         
>         Am Freitag, den 16.04.2010, 10:21 +0200 schrieb 老邪:
>         
>         > hi, all
>         >     i have a question about dbix::class 0.07006 ( i know
>         it's old, but
>         > my codes are base on it...). i want to add host IP of mysql
>         db into
>         > the error info of dbix's exception.
>         > so that it's helpful for us to debug our codes.
>         >    i just read the doc of newest version of dbix::class
>         (0.08121),
>         > seems it provide a way to make a custom throw_exception
>         myself. then i
>         > read doc of 0.07006, doesn't
>         > see such method as 0.08121.
>         >    so, i wanna ask, is there any anything i can do to add
>         host IP into
>         > error info of dbix's exception of version 0.07006
>         >    any tips are appreciated. thank you !
>         
>         
>         
>         *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
>         T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
>         Handelsgericht Wien, FN 79340b
>         *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
>         Notice: This e-mail contains information that is confidential
>         and may be privileged.
>         If you are not the intended recipient, please notify the
>         sender and then
>         delete this e-mail immediately.
>         *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
>         
>         _______________________________________________
>         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
> 




More information about the DBIx-Class mailing list