GenerationFailed class final
Generation failed in flight. Terminal — no event follows.
llm/vlm generateStream never fabricate a GenerationCompleted
after this.
- Inheritance
-
- Object
- GenerationEvent
- GenerationFailed
Constructors
- GenerationFailed(SDKException error, {String? partial, String requestId = ''})
-
Carry the failure and any partial text produced before it.
const
Properties
- error → SDKException
-
What went wrong.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- partial → String?
-
Text produced before the failure, when any was.
final
- requestId → String
-
Correlation id for the generation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited