Table of Contents

Class GeminiRequestException

Thrown if a Gemini API request fails.

public class GeminiRequestException : Exception
Inheritance
object
Exception
GeminiRequestException
Extension Methods

Fields

IsBetaApi

Was the request on a beta API?

public bool IsBetaApi

Field Value

bool

RequestEndpoint

The endpoint of the failed request.

public Uri RequestEndpoint

Field Value

Uri

RequestError

The name of the request's error.

public string RequestError

Field Value

string

RequestErrorCode

The response code returned by the request.

public long RequestErrorCode

Field Value

long

RequestErrorMessage

The request's error message.

public string RequestErrorMessage

Field Value

string