apollographql/apollo-link

How to handle error globally in react apollo?

Opened this issue · 0 comments

Hello,

I have to handle authentication error in react js on each request. So how can I handle authentication error globally because I returned any error from backend side but it gives me network error TypeError: Failed to fetch. So how can I found which error occurs?

Please give me a reply.

Thanks.