[dancer-users] How to handle exceptions gracefully in Dancer2?

fabioniguel3 at gmail.com fabioniguel3 at gmail.com
Sun Jul 27 20:17:29 BST 2014


Hi John, this doesn't work?

http://search.cpan.org/~yanick/Dancer-1.3124/lib/Dancer/Exception.pm


On Sun, Jul 27, 2014 at 8:06 PM, John J. McDermott, CPLP <jjm at jkintl.com>
wrote:

>
> All,
> I am new to Dancer/Dancer2 and to the list. I have an application that
> makes some db calls and some rest calls to another site, and of course
> those can fail. I'd like to handle those gracefully. Can I use
> Dancer::Exception in Dancer2? Should I just croak? Or is there something
> else. I could not find a Dancer2::Exception.
>
> Thanks,
> --john
> --
> John J. McDermott, CPLP
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20140727/20e6b017/attachment.html>


More information about the dancer-users mailing list