Hi Mark,

Straight from the documentation page 
<https://docs.angularjs.org/api/ng/service/$http>:
Deprecation Notice
The $http legacy promise methods success and error have been deprecated. 
Use the standard then method instead. If$httpProvider.
useLegacyPromiseExtensions 
<https://docs.angularjs.org/api/ng/provider/$httpProvider#useLegacyPromiseExtensions>
 is 
set to false then these methods will throw $http/legacy 
<https://docs.angularjs.org/error/$http/legacy> error.

So, if you want to catch error use the `.catch(errHandler)` in stead.
Yes, it's true. I would say, good riddance. it's a bad idea to have an 
alternative way to handle promises, as it just causes confusion my a lot of 
developers.

regards
Sander



-- 
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