If there is an exception or error in one of the promise handlers (such as 
in the .then() or possibly even the .error() ), the catch() should fire. If 
there is a server side error, the catch() should also fire. 

On Friday, September 11, 2015 at 12:40:28 PM UTC-7, mark goldin wrote:
>
> But still, the error has to be originated on the server, correct?
>
> On Fri, Sep 11, 2015 at 2:36 PM Matt Bailey <[email protected] 
> <javascript:>> wrote:
>
>> You can use .catch() for error handling on the promise that $http returns.
>>
>>
>> On Friday, September 11, 2015 at 9:53:51 AM UTC-7, mark goldin wrote:
>>>
>>> Is that true or it's old news?
>>>
>>> Thanks
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "AngularJS" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/angular/pU8sW45XZxo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to