If the route is not found, then phalcon uses default controller. So the only way to detect route not found error is to do smth like this:
$router->setDefaultController('SomeNonExistController');
If the route is not found, then phalcon uses default controller. So the only way to detect route not found error is to do smth like this:
$router->setDefaultController('SomeNonExistController');