Hi guys,

I'm using $httpProvider.interceptors.push( "httpInterceptor" );

return {
    request( config )
    {
        ...
    },

    responseError( errorResponse )
    {
        // errorResponse.status == -1
    }

In what precisely cases I will got a -1 value? Is it only when there's 
problem with connecting to endpoint?

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to