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

OperationError

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

An error that occurred during a backup creation operation.

interface OperationError {
code?: string;
errorType?:
| "OPERATION_ERROR_TYPE_UNSPECIFIED"
| "KMS_KEY_ERROR"
| "DATABASE_ERROR"
| "STOCKOUT_ERROR"
| "CANCELLATION_ERROR"
| "SQLSERVER_ERROR"
| "INTERNAL_ERROR";
message?: string;
}

§Properties

§
code?: string
[src]

Identifies the specific error that occurred. REQUIRED

§
errorType?: "OPERATION_ERROR_TYPE_UNSPECIFIED" | "KMS_KEY_ERROR" | "DATABASE_ERROR" | "STOCKOUT_ERROR" | "CANCELLATION_ERROR" | "SQLSERVER_ERROR" | "INTERNAL_ERROR"
[src]
§
message?: string
[src]

Additional information about the error encountered. REQUIRED