I am using Http to connect to the server.
Server automatically blocks users who are not authorized by giving me 403 forbidden error.
Though I don't have to use AuthGuard (coz server is doing it for me), but I still want to show some message when the 403 forbidden error is returned rather than show just blank white page.
So my question is.. is it possible to use this forbidden 403 error in Angular2 so that I can display something when the error is returned?
Like
if (errorMessage == 403) {
showModal () }
maybe like this?