# OvenCavityOperationalStateTrait.OperationalError

# OvenCavityOperationalStateTrait.OperationalError


```
interface OvenCavityOperationalStateTrait.OperationalError : ClusterStruct
```

<br />

Known direct subclasses [OvenCavityOperationalState.OperationalErrorEvent](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalState.OperationalErrorEvent)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalState.OperationalErrorEvent` |   |

*** ** * ** ***

This event is generated when a reportable error condition is detected.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.OperationalError#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.OperationalError#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.ErrorStateStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.OperationalError#errorState()` Indicates the type of error, if any, that has occurred. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### errorState

```
val errorState: OvenCavityOperationalStateTrait.ErrorStateStruct?
```

Indicates the type of error, if any, that has occurred.