FailureChunk
A classified failure chunk from the LLM response stream.
Class Diagram
Section titled “Class Diagram”---
title: FailureChunk
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class StreamChunk {
<<abstract>>
+string kind
}
StreamChunk <|-- FailureChunk
class FailureChunk {
+string kind
+StreamFailure failure
}
class StreamFailure {
+string outcome
+string message
}
FailureChunk *-- StreamFailure
Yaml Example
Section titled “Yaml Example”failure: outcome: indeterminate message: "SSE stream error: connection reset"Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | The kind identifier for classified failure chunks |
| failure | StreamFailure | The classified stream failure |
Composed Types
Section titled “Composed Types”The following types are composed within FailureChunk: