The last error associated with this run. Will be null
if there are no errors.
Name | Type | Description | Notes |
---|---|---|---|
code | CodeEnum | One of `server_error`, `rate_limit_exceeded`, or `invalid_prompt`. | |
message | String | A human-readable description of the error. |
Name | Value |
---|---|
SERVER_ERROR | "server_error" |
RATE_LIMIT_EXCEEDED | "rate_limit_exceeded" |
INVALID_PROMPT | "invalid_prompt" |