# AppEngageErrorCode

# AppEngageErrorCode

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/service/AppEngageErrorCode "View this page in Kotlin")\|Java  

<br />

```
@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
```

<br />

*** ** * ** ***

Error code raised when sending request to AppEngageService.

## Summary

|   ### Constants    |
|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `static final int` | [NO_ERROR](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#NO_ERROR())` = 0`                                                                                                          |
| `static final int` | [SERVICE_CALL_EXECUTION_FAILURE](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_CALL_EXECUTION_FAILURE())` = 3`                                                              |
| `static final int` | [SERVICE_CALL_INTERNAL](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_CALL_INTERNAL())` = 6`                                                                                |
| `static final int` | [SERVICE_CALL_INVALID_ARGUMENT](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_CALL_INVALID_ARGUMENT())` = 5`                                                                |
| `static final int` | [SERVICE_CALL_PERMISSION_DENIED](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_CALL_PERMISSION_DENIED())` = 4` Service call succeeds but error is returned from the server. |
| `static final int` | [SERVICE_CALL_RESOURCE_EXHAUSTED](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_CALL_RESOURCE_EXHAUSTED())` = 7`                                                            |
| `static final int` | [SERVICE_NOT_AVAILABLE](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_NOT_AVAILABLE())` = 2`                                                                                |
| `static final int` | [SERVICE_NOT_FOUND](https://developer.android.com/reference/com/google/android/engage/service/AppEngageErrorCode#SERVICE_NOT_FOUND())` = 1` 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.