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

John J. McDermott, CPLP jjm at jkintl.com
Sun Jul 27 20:06:46 BST 2014


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


More information about the dancer-users mailing list