Hi Alec,

If you want to propagate errors outside of your service, you have to 
(re)throw them from within your catch handler. If you don't, your server 
doesn't expose any error's. 
You have to me smart about this. Because, you might want to handle a 
'data-not-there' error differently from an 'hey-you-need-to-be-authed' 
error, while you might just want to do a retry on a network-level error. 
It's not all black and white here, and you have to handle every situation 
differently. 

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to