# Google Cloud Cloud Controls Partner V1beta Client - Class ConnectionError (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.0 0.2.2 0.1.4

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class ConnectionError.

Information around the error that occurred if the connection state is
anything other than available or unspecified

Generated from protobuf message `google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError`

## Namespace

Google \\ Cloud \\ CloudControlsPartner \\ V1beta \\ EkmConnection

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error_domain` | `string` The error domain for the error |
| `↳ error_message` | `string` The error message for the error |

### getErrorDomain

The error domain for the error

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setErrorDomain

The error domain for the error

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrorMessage

The error message for the error

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setErrorMessage

The error message for the error

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |