# PopErrorScopeStatus

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

*** ** * ** ***


```
class PopErrorScopeStatus
```

<br />

*** ** * ** ***

Indicates the status of a pop error scope operation.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/PopErrorScopeStatus#CallbackCancelled() = 2` Indicates the error scope pop operation was cancelled. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/PopErrorScopeStatus#Error() = 3` An error occurred, such as popping from an empty stack. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/PopErrorScopeStatus#Success() = 1` The error scope was popped successfully. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/PopErrorScopeStatus#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### CallbackCancelled

```
const val CallbackCancelled = 2: Int
```

Indicates the error scope pop operation was cancelled. This typically happens if the device is lost or destroyed while waiting for the scope to close.

### Error

```
const val Error = 3: Int
```

An error occurred, such as popping from an empty stack.

### Success

```
const val Success = 1: Int
```

The error scope was popped successfully.

## Public companion functions

### toString

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

```
fun toString(value: Int): String
```