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