Disclaimer: I have always disliked Events
, so if you’re looking for a solution that reanimates them from the dustbin, you can skip the rest of this post.
What I would do here is to write an HttpInterceptor that watches all requests for errors and performs the navigation redirect as appropriate.