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

RepositoryError

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

Errors when the connector is communicating to the source repository.

interface RepositoryError {
errorMessage?: string;
httpStatusCode?: number;
type?:
| "UNKNOWN"
| "NETWORK_ERROR"
| "DNS_ERROR"
| "CONNECTION_ERROR"
| "AUTHENTICATION_ERROR"
| "AUTHORIZATION_ERROR"
| "SERVER_ERROR"
| "QUOTA_EXCEEDED"
| "SERVICE_UNAVAILABLE"
| "CLIENT_ERROR";
}

§Properties

§
errorMessage?: string
[src]

Message that describes the error. The maximum allowable length of the message is 8192 characters.

§
httpStatusCode?: number
[src]

Error codes. Matches the definition of HTTP status codes.

§
type?: "UNKNOWN" | "NETWORK_ERROR" | "DNS_ERROR" | "CONNECTION_ERROR" | "AUTHENTICATION_ERROR" | "AUTHORIZATION_ERROR" | "SERVER_ERROR" | "QUOTA_EXCEEDED" | "SERVICE_UNAVAILABLE" | "CLIENT_ERROR"
[src]

The type of error.