# MatterCommissioningApiException


```
class MatterCommissioningApiException : ApiException
```

<br />

|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) |||
|   |   | ↳ | [com.google.android.gms.common.api.ApiException](https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html) ||
|   |   |   | ↳ | [com.google.android.gms.home.matter.commissioning.MatterCommissioningApiException](https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/MatterCommissioningApiException) |

*** ** * ** ***

Exception thrown when a Matter commissioning operation fails, providing detailed diagnostic information.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/MatterCommissioningApiException#MatterCommissioningApiException(com.google.android.gms.common.api.Status,com.google.android.gms.home.matter.commissioning.MatterCommissioningErrorDetails)( status: https://developers.google.com/android/reference/com/google/android/gms/common/api/Status.html, errorDetails: https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/MatterCommissioningErrorDetails )` |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/MatterCommissioningErrorDetails` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/commissioning/MatterCommissioningApiException#errorDetails()` Detailed diagnostic information about the commissioning failure. |

### Inherited functions

From [com.google.android.gms.common.api.ApiException](https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html) `open https://developers.google.com/android/reference/com/google/android/gms/common/api/Status.html` `https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html#getStatus--()` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html#getStatusCode--()` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` `[getStatusMessage](https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html#getStatusMessage--)()`

**This function is deprecated.** Deprecated in Java
From [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/add-suppressed.html(p0: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/fill-in-stack-trace.html()` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/get-localized-message.html()` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/lang/StackTraceElement.html>` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/get-stack-trace.html()` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html>` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/get-suppressed.html()` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/init-cause.html(p0: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/print-stack-trace.html()` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/print-stack-trace.html(p0: https://developer.android.com/reference/java/io/PrintStream.html)` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/print-stack-trace.html(p0: https://developer.android.com/reference/java/io/PrintWriter.html)` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/set-stack-trace.html(p0: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/lang/StackTraceElement.html>)`

### Inherited properties

From [com.google.android.gms.common.api.ApiException](https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html) `https://developers.google.com/android/reference/com/google/android/gms/common/api/Status.html` `https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException.html#mStatus`

**This property is deprecated.** Deprecated in Java
From [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html?` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/cause.html` `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/message.html`

## Public constructors

### MatterCommissioningApiException

```
MatterCommissioningApiException(
    status: Status,
    errorDetails: MatterCommissioningErrorDetails
)
```

## Public properties

### errorDetails

```
val errorDetails: MatterCommissioningErrorDetails
```

Detailed diagnostic information about the commissioning failure.