# Google Cloud Chronicle V1 Client - Class QueryRuntimeError (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class QueryRuntimeError.

Runtime error for a dashboard query.

Generated from protobuf message `google.cloud.chronicle.v1.QueryRuntimeError`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error_title` | `string` Short Description of the error. |
| `↳ error_description` | `string` Error message |
| `↳ error_severity` | `int` Severity of the error. |
| `↳ metadata` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.QueryRuntimeError.QueryRuntimeErrorMetadata>` Metadata for the error. |
| `↳ warning_reason` | `int` Reason for the error. |

### getErrorTitle

Short Description of the error.

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

### setErrorTitle

Short Description of the error.

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

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

### getErrorDescription

Error message

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

### setErrorDescription

Error message

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

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

### getErrorSeverity

Severity of the error.

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

### setErrorSeverity

Severity of the error.

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

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

### getMetadata

Metadata for the error.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.QueryRuntimeError.QueryRuntimeErrorMetadata>` |   |

### setMetadata

Metadata for the error.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.QueryRuntimeError.QueryRuntimeErrorMetadata>` |

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

### getWarningReason

Reason for the error.

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

### setWarningReason

Reason for the error.

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

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