Skip to main content
Version: 5.18.17

IsClientRequestFailError

public bool IsClientRequestFailError();

Description​

When the following error occurs due to an unstable network connection, 'true' is returned.

The included error case is as follows:

  • When the call/response fails because the network is temporarily unstable
    statusCode : 400
    errorCode : HttpRequestException Error getting response stream(ReadDone2): ReceiveFailure

When a request is sent while the network is temporarily disconnected or unstable, the error may occur. The issue is likely to be resolved when the call is made once again.

Example​

BackendReturnObject bro = Backend.GameData.Get("tableName", new Where());

if(bro.IsSuccess())
{
}
else
{
if(bro.IsClientRequestFailError())
{
Debug.Log("When the network is temporarily disconnected");
}
}