# Google Cloud Game Servers V1 Client - Class ErrorCode (1.2.6)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.2.6 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/latest/V1.OperationStatus.ErrorCode)
- [1.2.5](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/1.2.5/V1.OperationStatus.ErrorCode)
- [1.1.1](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/1.1.1/V1.OperationStatus.ErrorCode)
- [1.0.5](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/1.0.5/V1.OperationStatus.ErrorCode)
Reference documentation and code samples for the Google Cloud Game Servers V1 Client class ErrorCode.

Protobuf type `google.cloud.gaming.v1.OperationStatus.ErrorCode`

## Namespace

Google \\ Cloud \\ Gaming \\ V1 \\ OperationStatus

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ERROR_CODE_UNSPECIFIED

    Value: 0

Generated from protobuf enum `ERROR_CODE_UNSPECIFIED = 0;`

### INTERNAL_ERROR

    Value: 1

Generated from protobuf enum `INTERNAL_ERROR = 1;`

### PERMISSION_DENIED

    Value: 2

Generated from protobuf enum `PERMISSION_DENIED = 2;`

### CLUSTER_CONNECTION

    Value: 3

Generated from protobuf enum `CLUSTER_CONNECTION = 3;`