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

ErrorSummary

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

A summary of errors by error code, plus a count and sample error log entries.

interface ErrorSummary {
errorCode?:
| "OK"
| "CANCELLED"
| "UNKNOWN"
| "INVALID_ARGUMENT"
| "DEADLINE_EXCEEDED"
| "NOT_FOUND"
| "ALREADY_EXISTS"
| "PERMISSION_DENIED"
| "UNAUTHENTICATED"
| "RESOURCE_EXHAUSTED"
| "FAILED_PRECONDITION"
| "ABORTED"
| "OUT_OF_RANGE"
| "UNIMPLEMENTED"
| "INTERNAL"
| "UNAVAILABLE"
| "DATA_LOSS";
errorCount?: bigint;
errorLogEntries?: ErrorLogEntry[];
}

§Properties

§
errorCode?: "OK" | "CANCELLED" | "UNKNOWN" | "INVALID_ARGUMENT" | "DEADLINE_EXCEEDED" | "NOT_FOUND" | "ALREADY_EXISTS" | "PERMISSION_DENIED" | "UNAUTHENTICATED" | "RESOURCE_EXHAUSTED" | "FAILED_PRECONDITION" | "ABORTED" | "OUT_OF_RANGE" | "UNIMPLEMENTED" | "INTERNAL" | "UNAVAILABLE" | "DATA_LOSS"
[src]

Required.

§
errorCount?: bigint
[src]

Required. Count of this type of error.

§
errorLogEntries?: ErrorLogEntry[]
[src]

Error samples. At most 5 error log entries are recorded for a given error code for a single transfer operation.