Skip to Content
Mar 21, 2019 at 11:47 AM

Handling Network related errors for OData calls


Hi Everyone,

Can anyone share me where I can find all the network related errors/error codes or how can I handle network related issue for Odata Offlne/Online requests in Android and iOS Platform.

As per my project requirement, need to handle connectivity errors during Offline store flush/refresh and along with OData call during the online.

I am getting ERR_INTERNET_DISCONNECTED, CONNECTION_ABORTED, etc are consoled in console. How can I handle these network errors.

Right now we are handling using error code

  1. [10204] Communication with the server failed with status code - Unknown network error occured
  2. [-10205] Failed to establish a socket connection to the server
  3. [-10161] Another thread is already flushing the request queue.

Thanks in advance

Sai Nithesh