class GoogleGenAIError(ApplicationError): (source)
Constructor: GoogleGenAIError(message, *details, type, non_retryable, ...)
Error raised by the Google Gemini Temporal integration.
Registered with the worker (and replayer) via workflow_failure_exception_types so that, when raised in workflow code, it terminally fails the workflow execution rather than failing the workflow task and retrying it indefinitely. Use it for conditions that cannot be recovered by retry — e.g. a tool that is not a valid Temporal activity.
Inherited from ApplicationError:
| Method | __init__ |
Initialize an application error. |
| Property | category |
Severity category of the application error |
| Property | details |
User-defined details on the error. |
| Property | next |
Delay before the next activity retry attempt. |
| Property | non |
Whether the error was set as non-retryable when created. |
| Property | type |
General error type. |
| Instance Variable | _category |
Undocumented |
| Instance Variable | _details |
Undocumented |
| Instance Variable | _next |
Undocumented |
| Instance Variable | _non |
Undocumented |
| Instance Variable | _type |
Undocumented |
Inherited from FailureError (via ApplicationError):
| Property | failure |
Underlying protobuf failure object. |
| Property | message |
Message. |
| Instance Variable | _failure |
Undocumented |
| Instance Variable | _message |
Undocumented |
Inherited from TemporalError (via ApplicationError, FailureError):
| Property | cause |
Cause of the exception. |