Class UserProfileRequiredException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class UserProfileRequiredException extends BadRequestException
The request sets
billing_policy.bill_toto"user_profile"but names no user profile. Name the profile to bill in theanthropic-user-profile-idheader.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfileRequiredException.BuilderA builder for UserProfileRequiredException.
-
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 UserProfileRequiredErrorDetailsdetails()error.detailsof body.UserProfileRequiredException.BuildertoBuilder()final static UserProfileRequiredException.Builderbuilder()Returns a mutable builder for constructing an instance of UserProfileRequiredException. -
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 UserProfileRequiredErrorDetails details()
error.detailsof body.
-
toBuilder
UserProfileRequiredException.Builder toBuilder()
-
builder
final static UserProfileRequiredException.Builder builder()
Returns a mutable builder for constructing an instance of UserProfileRequiredException.
The following fields are required:
.headers() .body()
-
-
-
-