# 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)

*** ** * ** ***


```
public final class PopErrorScopeStatus
```

<br />

*** ** * ** ***

Indicates the status of a pop error scope operation.

## Summary

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

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/PopErrorScopeStatus#toString(kotlin.Int)(int value)` |

## Constants

### CallbackCancelled

```
public static final int CallbackCancelled = 2
```

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

```
public static final int Error = 3
```

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

### Success

```
public static final int Success = 1
```

The error scope was popped successfully.

## Public methods

### toString

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

```
public static final @NonNull String toString(int value)
```