I have such application cycle:
try {
/////// Preparing something for app
$response = $application->handle($_SERVER['REQUEST_URI']);
$response->send();
} catch(Exception $e) {
//////// Here i need to execute some controller's action
}
I tried to redirect or forward dispatcher but i don't know how to start that operation.
However, i also use dispatcher:beforeException event but i'm not sure i will catch all possible exceptions.