Class GeminiRequestException
- Namespace
- Uralstech.UGemini.Exceptions
Thrown if a Gemini API request fails.
public class GeminiRequestException : Exception
- Inheritance
-
GeminiRequestException
- Extension Methods
Constructors
GeminiRequestException(UnityWebRequest)
Creates a new GeminiRequestException.
internal GeminiRequestException(UnityWebRequest webRequest)
Parameters
webRequest
UnityWebRequestThe request that caused the exception.
Fields
IsBetaApi
Was the request on a beta API?
public bool IsBetaApi
Field Value
RequestEndpoint
The endpoint of the failed request.
public Uri RequestEndpoint
Field Value
RequestError
The name of the request's error.
public string RequestError
Field Value
RequestErrorCode
The response code returned by the request.
public long RequestErrorCode
Field Value
RequestErrorMessage
The request's error message.
public string RequestErrorMessage