ExecuteError
Data carried by an ExecuteError — raised when the LLM call fails after exhausting all retry attempts. Implementations wrap this in the language-appropriate exception type while preserving the accumulated conversation state for recovery or debugging.
Class Diagram
Section titled “Class Diagram”---
title: ExecuteError
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class ExecuteError {
+string message
+Message[] messages
}
class Message {
+string role
+ContentPart[] parts
+dictionary metadata
}
ExecuteError *-- Message
Yaml Example
Section titled “Yaml Example”message: "LLM call failed after 3 retries: rate limit exceeded"messages: - role: system parts: - kind: text value: You are a helpful assistant. - role: user parts: - kind: text value: HelloProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| message | string | Human-readable error description including retry count and underlying cause |
| messages | Message[] | The full conversation state at the time of failure, enabling the caller to retry with the accumulated messages |
Composed Types
Section titled “Composed Types”The following types are composed within ExecuteError: