# A2uiComponentState.Error

Artifact: [androidx.a2ui.compose:compose-runtime](https://developer.android.com/jetpack/androidx/releases/a2ui-compose) [View Source](https://cs.android.com/search?q=file:androidx/a2ui/compose/runtime/A2uiComponentState.kt+class:androidx.a2ui.compose.runtime.A2uiComponentState.Error) Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui-compose#1.0.0-alpha02)


```
class A2uiComponentState.Error : A2uiComponentState
```

<br />

*** ** * ** ***

Indicates that the component failed to resolve, evaluate, or render.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error#Error(androidx.a2ui.model.protocol.A2uiException)(exception: https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiException)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error#toString()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiException` | `https://developer.android.com/reference/kotlin/androidx/a2ui/compose/runtime/A2uiComponentState.Error#exception()` The `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiException` detailing the failure reason. |

## Public constructors

### Error

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui-compose#1.0.0-alpha02)

```
Error(exception: A2uiException)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### exception

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui-compose#1.0.0-alpha02)

```
val exception: A2uiException
```

The `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiException` detailing the failure reason.