Thank you for useful topic :)
Could you please clarify some thing: in section “ Throwing errors when we know something is wrong” in the very last picture where we use catchError operator. Inside it we going to return operator of() with function handleError(error). As I understand this function we have to get from ErrorService? But didn’t find the injecting of the service inside AppComponent. It’s just misspelling?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for useful topic :)
Could you please clarify some thing: in section “ Throwing errors when we know something is wrong” in the very last picture where we use catchError operator. Inside it we going to return operator of() with function handleError(error). As I understand this function we have to get from ErrorService? But didn’t find the injecting of the service inside AppComponent. It’s just misspelling?