# CommissioningService.CommissioningError

# CommissioningService.CommissioningError


```
@Retention(value = RetentionPolicy.SOURCE)
@IntDef(value = [CommissioningError.OTHER, CommissioningError.DEVICE_UNREACHABLE, CommissioningError.ATTESTATION_FAILED])
annotation CommissioningService.CommissioningError
```

<br />

*** ** * ** ***

Enumeration of valid error code values for `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/CommissioningService#sendCommissioningError(int)`

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/CommissioningService.CommissioningError#ATTESTATION_FAILED() = 1002` Indicates a failure of device attestation. |
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/CommissioningService.CommissioningError#DEVICE_UNREACHABLE() = 1001` Indicates a failure occurred because the device could not be reached on the network. |
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/CommissioningService.CommissioningError#OTHER() = 1000` Indicates a failure that cannot be described by a more specific error code. |

## Constants

### ATTESTATION_FAILED

```
const val ATTESTATION_FAILED = 1002: Int
```

Indicates a failure of device attestation.

### DEVICE_UNREACHABLE

```
const val DEVICE_UNREACHABLE = 1001: Int
```

Indicates a failure occurred because the device could not be reached on the network.

### OTHER

```
const val OTHER = 1000: Int
```

Indicates a failure that cannot be described by a more specific error code.