Package com.anthropic.models.messages
Class ThreadFingerprintMismatchException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ThreadFingerprintMismatchException extends BadRequestException
A field that must stay the same across a Thread's turns differs from the value stored with the Thread; the message names each such field. Send the stored values, or replay the full conversation with
thread: {"type": "create"}to change them.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadFingerprintMismatchException.BuilderA builder for ThreadFingerprintMismatchException.
-
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 ThreadFingerprintMismatchErrorDetailsdetails()error.detailsof body.ThreadFingerprintMismatchException.BuildertoBuilder()final static ThreadFingerprintMismatchException.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadFingerprintMismatchException. -
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 ThreadFingerprintMismatchErrorDetails details()
error.detailsof body.
-
toBuilder
ThreadFingerprintMismatchException.Builder toBuilder()
-
builder
final static ThreadFingerprintMismatchException.Builder builder()
Returns a mutable builder for constructing an instance of ThreadFingerprintMismatchException.
The following fields are required:
.headers() .body()
-
-
-
-