ContinuationInterruptedError class
An exception thrown when automatic continuation fails after partial progress.
Preserves the partialInteraction, continuationToken, interactionId, and continuationIds so decoding can be resumed from the last checkpoint without losing earlier hops.
- Implemented types
Constructors
-
ContinuationInterruptedError(String message, {Object? partialInteraction, String? continuationToken, String? interactionId, List<
String> ? continuationIds, Object? cause}) -
Creates a ContinuationInterruptedError with
messageand checkpoint state.
Properties
- cause → Object?
-
The underlying error cause that triggered the interruption, if any.
final
-
continuationIds
→ List<
String> -
The ordered IDs of every hop created during the call.
final
- continuationToken → String?
-
The latest resumable continuation token to pass when resuming decoding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactionId → String?
-
The ID of the stored interaction that issued continuationToken, if any.
final
- message → String
-
The human-readable message describing why continuation was interrupted.
final
- partialInteraction → Object?
-
The partial interaction payload accumulated before interruption, if any.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited