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

Errors

import type { Errors } from "https://googleapis.deno.dev/v1/youtubeAnalytics:v2.ts";

Request Error information. The presence of an error field signals that the operation has failed.

interface Errors {
code?:
| "BAD_REQUEST"
| "FORBIDDEN"
| "NOT_FOUND"
| "CONFLICT"
| "GONE"
| "PRECONDITION_FAILED"
| "INTERNAL_ERROR"
| "SERVICE_UNAVAILABLE";
error?: ErrorProto[];
requestId?: string;
}

§Properties

§
code?: "BAD_REQUEST" | "FORBIDDEN" | "NOT_FOUND" | "CONFLICT" | "GONE" | "PRECONDITION_FAILED" | "INTERNAL_ERROR" | "SERVICE_UNAVAILABLE"
[src]

Global error code. Deprecated and ignored. Set custom error codes in ErrorProto.domain and ErrorProto.code instead.

§
error?: ErrorProto[]
[src]

Specific error description and codes

§
requestId?: string
[src]

Request identifier generated by the service, which can be used to identify the error in the logs