google.internal.GmError
The `{"error": {...}}` document Google returns for a failed call. It arrives with a non-2xx status on the unary path (where `ai.wire.send_as` classifies it) and can also arrive as an SSE payload mid-stream.
Reference version
Signature
class google.internal.GmErrorThe {"error": {...}} document Google returns for a failed call. It arrives
with a non-2xx status on the unary path (where ai.wire.send_as classifies
it) and can also arrive as an SSE payload mid-stream.
Source:<builtin>/google/ns_internal/gemini.bamlbytes 7562–7638
Fields
code
int | nullmessage
string | nullstatus
string | null