Package com.anthropic.models
Class LinkedOrganizationBillingUnavailableException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class LinkedOrganizationBillingUnavailableException extends PaymentRequiredException
Anthropic cannot currently bill the organization linked to the request's user profile, for a reason that lies with that organization's own account. The response does not say what the reason is.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLinkedOrganizationBillingUnavailableException.BuilderA builder for LinkedOrganizationBillingUnavailableException.
-
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 LinkedOrganizationBillingUnavailableErrorDetailsdetails()error.detailsof body.LinkedOrganizationBillingUnavailableException.BuildertoBuilder()final static LinkedOrganizationBillingUnavailableException.Builderbuilder()Returns a mutable builder for constructing an instance of LinkedOrganizationBillingUnavailableException. -
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.PaymentRequiredException
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 LinkedOrganizationBillingUnavailableErrorDetails details()
error.detailsof body.
-
builder
final static LinkedOrganizationBillingUnavailableException.Builder builder()
Returns a mutable builder for constructing an instance of LinkedOrganizationBillingUnavailableException.
The following fields are required:
.headers() .body()
-
-
-
-