Class GeminiResponseParsingException
- Namespace
- Uralstech.UGemini.Exceptions
Thrown if the response of a Gemini API request could not be parsed.
public class GeminiResponseParsingException : Exception
- Inheritance
-
GeminiResponseParsingException
- Extension Methods
Constructors
GeminiResponseParsingException(UnityWebRequest)
Creates a new GeminiResponseParsingException.
internal GeminiResponseParsingException(UnityWebRequest webRequest)
Parameters
webRequest
UnityWebRequestThe request that caused the exception.
GeminiResponseParsingException(UnityWebRequest, Exception)
Creates a new GeminiResponseParsingException.
internal GeminiResponseParsingException(UnityWebRequest webRequest, Exception innerException)
Parameters
webRequest
UnityWebRequestThe request that caused the exception.
innerException
ExceptionThe inner exception that caused this one.
Fields
DownloadedText
The content downloaded from the request.
public string DownloadedText
Field Value
IsBetaApi
Was the request on a beta API?
public bool IsBetaApi
Field Value
RequestEndpoint
The endpoint of the request.
public Uri RequestEndpoint