# SessionCreateUnknownError

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

*** ** * ** ***


```
class SessionCreateUnknownError : SessionCreateResult
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.xr.runtime.SessionCreateResult](https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateResult) ||
|   | ↳ | [androidx.xr.runtime.SessionCreateUnknownError](https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateUnknownError) |

*** ** * ** ***

Result of an unsuccessful `https://developer.android.com/reference/kotlin/androidx/xr/runtime/Session#create(android.content.Context,kotlin.coroutines.CoroutineContext,androidx.lifecycle.LifecycleOwner)` call. The session was not created due to an unknown internal error. See the contents of `https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateUnknownError#(kotlin.String)` for more information.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateUnknownError#SessionCreateUnknownError(kotlin.String)(errorMessage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/runtime/SessionCreateUnknownError#errorMessage()` a message supplied by the error that occurred |

## Public constructors

### SessionCreateUnknownError

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
SessionCreateUnknownError(errorMessage: String)
```

| Parameters |
|---|---|
| `errorMessage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | a message supplied by the error that occurred |

## Public properties

### errorMessage

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
val errorMessage: String
```

a message supplied by the error that occurred