throwError not working as expected

11 views
Skip to first unread message

Alexander Mills

unread,
Dec 23, 2020, 12:33:11 AM12/23/20
to Angular and AngularJS discussion
I have this code:

Screen Shot 2020-12-22 at 9.32.03 PM.png

it should always call throwError(), but in the subscriber I get "success 1" instead of "err 1" and I guess I don't understand how this is supposed to work...

Reply all
Reply to author
Forward
0 new messages