DanWahlin / Angular-JumpStart

Angular and TypeScript JumpStart example application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I hide the overlay if a request fails or give an error?

rojermaharjan opened this issue · comments

I'm just getting into angular and your videos on pluralsight really helped me but I couldn't figure out how to hide the overlay if an http request fails.

You could handle hiding it with a catchError (updated the overlay interceptor to show that). You'd have to think through any other scenarios to monitor for errors though....I'm not sure if that will handle all of them.