Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MigrationError

import type { MigrationError } from "https://googleapis.deno.dev/v1/vmmigration:v1.ts";

Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.

interface MigrationError {
readonly actionItem?: LocalizedMessage;
readonly code?:
| "ERROR_CODE_UNSPECIFIED"
| "UNKNOWN_ERROR"
| "SOURCE_VALIDATION_ERROR"
| "SOURCE_REPLICATION_ERROR"
| "TARGET_REPLICATION_ERROR"
| "OS_ADAPTATION_ERROR"
| "CLONE_ERROR"
| "CUTOVER_ERROR"
| "UTILIZATION_REPORT_ERROR"
| "APPLIANCE_UPGRADE_ERROR"
| "IMAGE_IMPORT_ERROR";
readonly errorMessage?: LocalizedMessage;
readonly errorTime?: Date;
readonly helpLinks?: Link[];
}

§Properties

§
readonly actionItem?: LocalizedMessage
[src]

Output only. Suggested action for solving the error.

§
readonly code?: "ERROR_CODE_UNSPECIFIED" | "UNKNOWN_ERROR" | "SOURCE_VALIDATION_ERROR" | "SOURCE_REPLICATION_ERROR" | "TARGET_REPLICATION_ERROR" | "OS_ADAPTATION_ERROR" | "CLONE_ERROR" | "CUTOVER_ERROR" | "UTILIZATION_REPORT_ERROR" | "APPLIANCE_UPGRADE_ERROR" | "IMAGE_IMPORT_ERROR"
[src]

Output only. The error code.

§
readonly errorMessage?: LocalizedMessage
[src]

Output only. The localized error message.

§
readonly errorTime?: Date
[src]

Output only. The time the error occurred.