# Google Cloud Ces V1 Client - Class ErrorHandlingSettings (0.2.0)

0.2.0 (latest) 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class ErrorHandlingSettings.

Settings to describe how errors should be handled in the app.

Generated from protobuf message `google.cloud.ces.v1.ErrorHandlingSettings`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error_handling_strategy` | `int` Optional. The strategy to use for error handling. |

### getErrorHandlingStrategy

Optional. The strategy to use for error handling.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ErrorHandlingStrategy](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ErrorHandlingSettings.ErrorHandlingStrategy). |

### setErrorHandlingStrategy

Optional. The strategy to use for error handling.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ErrorHandlingStrategy](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ErrorHandlingSettings.ErrorHandlingStrategy). |

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