It doesn't show appropriate message when an exception hasn't caught
miladrahimi opened this issue · 0 comments
miladrahimi commented
$router->onError(function ($x) {
echo "<pre>";
var_dump($x);
echo "</pre>";
echo "<br>Routing Error";
});
And when the app throws an exception, the $x will be one of the script class not the exception.