Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230059

Publish event from handle error function in rest provider

$
0
0

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.


Viewing all articles
Browse latest Browse all 230059

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>