[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 08:50:57 GMT 2010


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.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*



More information about the DBIx-Class mailing list