Ionic 2: Get current state/page from a service



How can i get the current state/page of the application from an @Injectable component?

The is use case:

I have a class HttpErrorHandler which has one method handleError this method is invoke after every failed request…
How, from that component, can I tell what is the current page?