# VM Migration v1 API - Enum MigrationError.Types.ErrorCode (2.9.0)

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

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.8.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.7.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.6.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.MigrationError.Types.ErrorCode)

    public enum MigrationError.Types.ErrorCode

Reference documentation and code samples for the VM Migration v1 API enum MigrationError.Types.ErrorCode.

Represents resource error codes.

## Namespace

[Google.Cloud.VMMigration.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)

## Assembly

Google.Cloud.VMMigration.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `ApplianceUpgradeError` | Migrate to Virtual Machines encountered an error during appliance upgrade. |
| `CloneError` | Migrate to Virtual Machines encountered an error in clone operation. |
| `CutoverError` | Migrate to Virtual Machines encountered an error in cutover operation. |
| `DiskMigrationError` | Migrate to Virtual Machines encountered an error in disk migration operation. |
| `ImageImportError` | Migrate to Virtual Machines encountered an error in image import operation. |
| `OsAdaptationError` | Migrate to Virtual Machines encountered an error during OS adaptation. |
| `SourceReplicationError` | Migrate to Virtual Machines encountered an error during source data operation. |
| `SourceValidationError` | Migrate to Virtual Machines encountered an error while validating replication source health. |
| `TargetReplicationError` | Migrate to Virtual Machines encountered an error during target data operation. |
| `UnknownError` | Migrate to Virtual Machines encountered an unknown error. |
| `Unspecified` | Default value. This value is not used. |
| `UtilizationReportError` | Migrate to Virtual Machines encountered an error during utilization report creation. |