# Google Cloud Dms V1 Client - Class MigrationJobVerificationError (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class MigrationJobVerificationError.

Error message of a verification Migration job.

Generated from protobuf message `google.cloud.clouddms.v1.MigrationJobVerificationError`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error_code` | `int` Output only. An instance of ErrorCode specifying the error that occurred. |
| `↳ error_message` | `string` Output only. A formatted message with further details about the error and a CTA. |
| `↳ error_detail_message` | `string` Output only. A specific detailed error message, if supplied by the engine. |

### getErrorCode

Output only. An instance of ErrorCode specifying the error that occurred.

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

### setErrorCode

Output only. An instance of ErrorCode specifying the error that occurred.

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

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

### getErrorMessage

Output only. A formatted message with further details about the error and a
CTA.

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

### setErrorMessage

Output only. A formatted message with further details about the error and a
CTA.

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

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

### getErrorDetailMessage

Output only. A specific detailed error message, if supplied by the engine.

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

### setErrorDetailMessage

Output only. A specific detailed error message, if supplied by the engine.

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

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