<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Dancer users,</p>
<p>I am using my own hierarchy of errors in files and libraries
which are used in my Dancer2 app.<br>
These errors are based on class Throwable::Error.</p>
<p>1) Can I catch these errors in Dancer2 error hooks, e.g. in <i>on_route_exception</i>
and</p>
<p>2) maybe transform them into Dancer2::Core::Error objects <br>
</p>
<p>3) which I can then handle in views/400.tt template, or even
change the page template?</p>
<p><br>
</p>
<p>--<br>
Mikko Koivunalho<br>
</p>
</body>
</html>