Hi!

I have no real experience using exceptions in my code. Neither I have not
seen good guide how to use exceptions in software developent. I have lot of
small pieces about it, but no big picture. So I have simple question: how
and where to catch errors in Dancer app?

I looked to Dancer::Error and it seems good, but still I don't get, where
is the best place to catch and handle errors? Is it good idea to have one
simple dispatcher (like in bin/app.pl), so every exception is falling to
the base script and handled there? Or is better to catch them in place all
over the code? Or? Is there some "best practice"?

-- 
Wbr,
Kõike hääd,

Gunnar
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to