[dancer-users] Dancer2 Error Hooks
Mikko Johannes Koivunalho
mikko.koivunalho at iki.fi
Sun Jan 2 21:06:06 GMT 2022
Dear Dancer users,
I am using my own hierarchy of errors in files and libraries which are
used in my Dancer2 app.
These errors are based on class Throwable::Error.
1) Can I catch these errors in Dancer2 error hooks, e.g. in
/on_route_exception/ and
2) maybe transform them into Dancer2::Core::Error objects
3) which I can then handle in views/400.tt template, or even change the
page template?
--
Mikko Koivunalho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20220102/a6ee3769/attachment.htm>
More information about the dancer-users
mailing list