Table of Contents

Class GeminiResponseParsingException

Thrown if the response of a Gemini API request could not be parsed.

public class GeminiResponseParsingException : Exception
Inheritance
GeminiResponseParsingException
Extension Methods

Constructors

GeminiResponseParsingException(UnityWebRequest)

internal GeminiResponseParsingException(UnityWebRequest webRequest)

Parameters

webRequest UnityWebRequest

The request that caused the exception.

GeminiResponseParsingException(UnityWebRequest, Exception)

internal GeminiResponseParsingException(UnityWebRequest webRequest, Exception innerException)

Parameters

webRequest UnityWebRequest

The request that caused the exception.

innerException Exception

The inner exception that caused this one.

Fields

DownloadedText

The content downloaded from the request.

public string DownloadedText

Field Value

string

IsBetaApi

Was the request on a beta API?

public bool IsBetaApi

Field Value

bool

RequestEndpoint

The endpoint of the request.

public Uri RequestEndpoint

Field Value

Uri