Package com.bitheads.braincloud.client
Interface IGlobalErrorCallback
public interface IGlobalErrorCallback
-
Method Summary
Modifier and Type Method Description voidglobalError(ServiceName serviceName, ServiceOperation serviceOperation, int statusCode, int reasonCode, String jsonError)Errors are returned back to the layer which is interfacing with the BrainCloud library through the serverError() callback.
-
Method Details
-
globalError
void globalError(ServiceName serviceName, ServiceOperation serviceOperation, int statusCode, int reasonCode, String jsonError)Errors are returned back to the layer which is interfacing with the BrainCloud library through the serverError() callback. A server error might indicate a failure of the client to communicate with the server after N retries.- Parameters:
serviceName- - name of the requested serviceserviceOperation- - requested operationstatusCode- The error status return code (400, 403, 500, etc)reasonCode- The brainCloud reason code (see reason codes on apidocs site)jsonError- The error json string
-