Package com.anthropic.errors
Class CredentialResolutionException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class CredentialResolutionException extends AnthropicException
Thrown when resolving credentials for a specific profile fails — e.g. the profile's configuration references an identity token file that cannot be read, or its credentials cache is malformed.
Unlike NoCredentialsException, which means no source was configured at all, this indicates a configured source was found but could not be turned into usable credentials.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringprofileNameprivate final Stringmessageprivate final Throwablecauseprivate final StringlocalizedMessageprivate final Array<Throwable>suppressedprivate Array<StackTraceElement>stackTrace
-
Method Summary
Modifier and Type Method Description final StringprofileName()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
profileName
final String profileName()
-
-
-
-