AppEngageErrorCode


@Retention(value = RetentionPolicy.SOURCE)
@IntDef(value = [AppEngageErrorCode.NO_ERROR, AppEngageErrorCode.SERVICE_NOT_FOUND, AppEngageErrorCode.SERVICE_NOT_AVAILABLE, AppEngageErrorCode.SERVICE_CALL_EXECUTION_FAILURE, AppEngageErrorCode.SERVICE_CALL_PERMISSION_DENIED, AppEngageErrorCode.SERVICE_CALL_INVALID_ARGUMENT, AppEngageErrorCode.SERVICE_CALL_INTERNAL, AppEngageErrorCode.SERVICE_CALL_RESOURCE_EXHAUSTED])
public annotation AppEngageErrorCode


Error code raised when sending request to AppEngageService.

Summary

Constants

static final int
static final int
static final int
static final int
static final int

Service call succeeds but error is returned from the server.

static final int
static final int
static final int

Service call doesn't succeed.

Constants

NO_ERROR

public static final int NO_ERROR = 0

SERVICE_CALL_EXECUTION_FAILURE

public static final int SERVICE_CALL_EXECUTION_FAILURE = 3

SERVICE_CALL_INTERNAL

public static final int SERVICE_CALL_INTERNAL = 6

SERVICE_CALL_INVALID_ARGUMENT

public static final int SERVICE_CALL_INVALID_ARGUMENT = 5

SERVICE_CALL_PERMISSION_DENIED

public static final int SERVICE_CALL_PERMISSION_DENIED = 4

Service call succeeds but error is returned from the server.

SERVICE_CALL_RESOURCE_EXHAUSTED

public static final int SERVICE_CALL_RESOURCE_EXHAUSTED = 7

SERVICE_NOT_AVAILABLE

public static final int SERVICE_NOT_AVAILABLE = 2

SERVICE_NOT_FOUND

public static final int SERVICE_NOT_FOUND = 1

Service call doesn't succeed.