Package com.anthropic.models.messages
Class ThreadContinueInFlightException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ThreadContinueInFlightException extends BadRequestException
Another request is still continuing from the same
previous_message_id. Wait for it to complete and continue from its responseid, or replay the full conversation withthread: {"type": "create"}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadContinueInFlightException.BuilderA builder for ThreadContinueInFlightException.
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final Throwablecauseprivate final StringlocalizedMessageprivate final Array<Throwable>suppressedprivate Array<StackTraceElement>stackTrace
-
Method Summary
Modifier and Type Method Description final ThreadContinueInFlightErrorDetailsdetails()error.detailsof body.ThreadContinueInFlightException.BuildertoBuilder()final static ThreadContinueInFlightException.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadContinueInFlightException. -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class com.anthropic.errors.BadRequestException
body, headers, statusCode -
Methods inherited from class com.anthropic.errors.AnthropicServiceException
apiMessage, errorCode, errorDetails, errorType, requestId, type, workspaceId -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
details
final ThreadContinueInFlightErrorDetails details()
error.detailsof body.
-
toBuilder
ThreadContinueInFlightException.Builder toBuilder()
-
builder
final static ThreadContinueInFlightException.Builder builder()
Returns a mutable builder for constructing an instance of ThreadContinueInFlightException.
The following fields are required:
.headers() .body()
-
-
-
-