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

老邪 swansun95 at gmail.com
Fri Apr 16 08:21:09 GMT 2010


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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100416/c43=
7eea9/attachment.htm


More information about the DBIx-Class mailing list