I got this HttpLinkParserException from the _parseHttpResponse(), while I was trying to query a data from my endpoint.
This happens when it returns an actual 4xx response (Not 200 response with error attached to it)
I tried putting a try catch block and, use the if(res.hasException)
but it still throw me this error and freeze my whole app.
Expected behavior
I was hoping to find a way to handle an error that returns an actual 4xx response.
I got this HttpLinkParserException from the _parseHttpResponse(), while I was trying to query a data from my endpoint. This happens when it returns an actual 4xx response (Not 200 response with error attached to it)
I tried putting a try catch block and, use the if(res.hasException) but it still throw me this error and freeze my whole app.
Expected behavior I was hoping to find a way to handle an error that returns an actual 4xx response.
HttpLinkParserException
My function