langchain_google_genai.chat_models.ChatGoogleGenerativeAIError

class langchain_google_genai.chat_models.ChatGoogleGenerativeAIError[source]

Custom exception class for errors associated with the Google GenAI API.

This exception is raised when there are specific issues related to the Google genai API usage in the ChatGoogleGenerativeAI class, such as unsupported message types or roles.