Package com.anthropic.models
Class OrganizationOnHoldException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class OrganizationOnHoldException extends BadRequestException
Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code.
appeal_url, when present, is where the organization can appeal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationOnHoldException.BuilderA builder for OrganizationOnHoldException.
-
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 OrganizationOnHoldErrorDetailsdetails()error.detailsof body.OrganizationOnHoldException.BuildertoBuilder()final static OrganizationOnHoldException.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationOnHoldException. -
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 OrganizationOnHoldErrorDetails details()
error.detailsof body.
-
toBuilder
OrganizationOnHoldException.Builder toBuilder()
-
builder
final static OrganizationOnHoldException.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationOnHoldException.
The following fields are required:
.headers() .body()
-
-
-
-